react-native-macos/flow-typed/npm
Alex Hunt 9e068ac163 Add --experimental-debugger-frontend flag, restore 0.72 flow as base (#40766)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/40766

This changeset allows users to opt into the new debugger frontend experience by passing `--experimental-debugger` to `react-native start`. **We are defaulting this option to `true`** for now, but will continue to evaluate this feature before 0.73 ships. It restores Flipper (via `flipper://`) as the default handling for `/open-debugger` (matching 0.72 behaviour) when this flag is not enabled.

Detailed changes:

- Replaces `enableCustomDebuggerFrontend` experiment in `dev-middleware` with `enableNewDebugger`. The latter now hard-swaps between the Flipper and new launch flows.
    - Removes now-unused switching of `devtoolsFrontendUrl`.
- Implements `deprecated_openFlipperMiddleware` (matching previous RN CLI implementation).
- Disables "`j` to debug" key handler by default.
- Marks "`j` to debug" and `/open-debugger` console logs as experimental.

Changelog:
[Changed][General] Gate new debugger frontend behind `--experimental-debugger` flag, restore Flipper as base launch flow

Reviewed By: motiz88

Differential Revision: D50084590

fbshipit-source-id: 5234634f20110cb7933b1787bd2c86f645411fff
2023-10-10 09:37:41 -07:00
..
@isaacs Log debugger command latency and status (#39107) 2023-08-22 11:11:50 -07:00
@react-native-community Improve start command interactive behaviour (#39544) 2023-09-20 03:47:13 -07:00
@tsconfig Add auto-generation of TypeScript definitions on build (#38990) 2023-08-14 12:12:10 -07:00
actual-request-url_v1.x.x.js Add option to enable experimental debugger frontend (#39227) 2023-09-04 12:21:47 -07:00
ansi-regex_v5.x.x.js Prevent LogBox from crashing on long messages (#38005) 2023-06-22 02:09:45 -07:00
babel-traverse_v7.x.x.js Update Babel Flow lib defs (#38515) 2023-07-25 11:37:04 -07:00
babel-types_v7.x.x.js Update Babel Flow lib defs (#38515) 2023-07-25 11:37:04 -07:00
babel_v7.x.x.js Add Flow libdef for @babel/register (#38691) 2023-07-31 06:04:09 -07:00
base64-js_v1.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
chalk_v4.x.x.js Convert community-cli-plugin to Flow strict (#38961) 2023-08-15 02:33:22 -07:00
chrome-launcher_v0.15.x.js Add Microsoft Edge support for opening debugger (#39146) 2023-08-24 10:57:39 -07:00
chromium-edge-launcher_v1.x.x.js Add Microsoft Edge support for opening debugger (#39146) 2023-08-24 10:57:39 -07:00
connect_v3.x.x.js Create dev-middleware package (#38194) 2023-07-07 09:22:09 -07:00
debug_v2.x.x.js Move metro-inspector-proxy into dev-middleware (#39045) 2023-08-18 01:38:10 -07:00
execa_v5.x.x.js Migrate cli-plugin-metro into repo (#38795) 2023-08-10 11:34:36 -07:00
glob_v7.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
node-fetch_v2.x.x.js Create dev-middleware package (#38194) 2023-07-07 09:22:09 -07:00
open_v7.x.x.js Add --experimental-debugger-frontend flag, restore 0.72 flow as base (#40766) 2023-10-10 09:37:41 -07:00
parseargs_v0.11.x.js Add shared monorepo build setup (#38718) 2023-08-03 04:42:30 -07:00
pretty-format_v26.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
promise_v8.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
react-dom_v17.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
react-test-renderer_v16.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
serve-static_v1.x.x.js Type serve-static and document /debugger-frontend (#40765) 2023-10-10 09:37:41 -07:00
stacktrace-parser_v0.1.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
temp-dir_2.x.x.js Create dev-middleware package (#38194) 2023-07-07 09:22:09 -07:00
typescript_v5.x.x.js Add auto-generation of TypeScript definitions on build (#38990) 2023-08-14 12:12:10 -07:00
ws_v7.x.x.js Migrate cli-plugin-metro into repo (#38795) 2023-08-10 11:34:36 -07:00
yargs_v17.x.x.js Update Yargs flow lib def to allow .fail(false) (#38273) 2023-07-10 13:09:01 -07:00