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
Test this once a canary release is available with expo/expo#25649
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
canary
release is available with expo/expo#25649