Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

motiz88
Copy link
Contributor

@motiz88 motiz88 commented Feb 23, 2024

Summary:
Changelog: [Internal]

Uses the capability introduced in facebookexperimental/rn-chrome-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
Contributor

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

@facebook-github-bot facebook-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
Copy link

analysis-bot commented Feb 23, 2024

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 17,882,129 -1
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,240,573 +2
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 12f2c3c
Branch: main

Summary:
Changelog: [Internal]

Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](facebookexperimental/rn-chrome-devtools-frontend@12a45e0...9ceb0ad
).

Reviewed By: huntie

Differential Revision: D54107317
Summary:
Changelog: [Internal]

Uses the capability introduced in facebookexperimental/rn-chrome-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
Contributor

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

@cortinico
Copy link
Contributor

451fffb

@cortinico cortinico closed this Apr 2, 2024
@cortinico cortinico added the Merged This PR has been merged. label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants