expo / vscode-expo

Expo Tools keep you productive with debugging, IntelliSense, and prebuild previews
https://marketplace.visualstudio.com/items?itemName=expo.vscode-expo-tools
MIT License
413 stars 11 forks source link

fix: add `userAgent` query parameter in debugger #237

Closed byCedric closed 6 months ago

byCedric commented 9 months ago

Linked issue

See PR expo/expo#25649, specifically this line

Additional context

VSCode doesn't send any User-Agent headers when connecting through web sockets. This differs from the Chrome DevTools, where we can safely detect this Chrome-based debugger. Since we have some workarounds for known React Native CDP (as opposed to the future Hermes CDP) implementation.

TODO

expo-bot commented 6 months ago

:tada: This PR is included in version 1.2.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: