Skip to content

Use host-relative WebSocket URLs when launching new debugger - #43169

Closed
motiz88 wants to merge 2 commits into
react:mainfrom
motiz88:export-D54107316
Closed

Use host-relative WebSocket URLs when launching new debugger#43169
motiz88 wants to merge 2 commits into
react:mainfrom
motiz88:export-D54107316

Conversation

@motiz88

Copy link
Copy Markdown
Contributor

Summary:
Changelog: [Internal]

Uses the capability introduced in react/react-native-devtools-frontend#4 to avoid repeating the dev server's host:port in the ws / wss parameter we pass to the Chrome DevTools frontend. This gives us more flexibility to handle port forwarding and redirects outside of dev-middleware. This is mostly useful in Meta's internal VS Code remoting setup, but this particular change should work equally well in open source.

Differential Revision: D54107316

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D54107316

@facebook-github-botfacebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported p: Facebook Partner: Facebook Partner labels Feb 23, 2024
@analysis-bot

analysis-bot commented Feb 23, 2024

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a17,882,129-1
androidhermesarmeabi-v7an/a--
androidhermesx86n/a--
androidhermesx86_64n/a--
androidjscarm64-v8a21,240,573+2
androidjscarmeabi-v7an/a--
androidjscx86n/a--
androidjscx86_64n/a--

Base commit: 12f2c3c
Branch: main

Summary:
Changelog: [Internal]
Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](react/react-native-devtools-frontend@12a45e0...9ceb0ad
).
Reviewed By: huntie
Differential Revision: D54107317
Summary:
Changelog: [Internal]
Uses the capability introduced in react/react-native-devtools-frontend#4 to avoid repeating the dev server's host:port in the `ws` / `wss` parameter we pass to the Chrome DevTools frontend. This gives us more flexibility to handle port forwarding and redirects outside of `dev-middleware`. This is mostly useful in Meta's internal VS Code remoting setup, but this particular change should work equally well in open source.
Reviewed By: huntie
Differential Revision: D54107316
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D54107316

@cortinico

Copy link
Copy Markdown
Contributor

451fffb

@cortinicocortinico added the Merged This PR has been merged. label Apr 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.p: FacebookPartner: FacebookPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@motiz88@facebook-github-bot@analysis-bot@cortinico