Files
react-native/packages/debugger-frontend
Alex Hunt afddbb2b67 Sync debugger-frontend
Summary:
Sync latest `debugger-frontend` artifacts, based on https://github.com/motiz88/rn-chrome-devtools-frontend/pull/12.

Changelog: [Internal]

Reviewed By: motiz88

Differential Revision: D49502838

fbshipit-source-id: 25805066670ac35ec976dc820a73a722ee182dd2
2023-10-02 10:28:17 -07:00
..
2023-10-02 10:28:17 -07:00
2023-10-02 10:28:17 -07:00

@react-native/debugger-frontend

npm package

Debugger frontend for React Native based on Chrome DevTools.

This package is internal to React Native and is intended to be used via @react-native/dev-middleware.

Usage

The package exports the absolute path to the directory containing the frontend assets.


const frontendPath = require('@react-native/debugger-frontend');

// Pass frontendPath to a static server, etc

Updating the frontend assets

The compiled frontend assets are checked into the React Native repo. Run node scripts/debugger-frontend/sync-and-build from the root of your react-native checkout to update them.