Problem Starting JS debugging from Expo Go doesn't connect to React Native Debugger, but opens a separate dev tools window instead on Windows 11.
Full description
I start React Native Debugger (.exe file, v0.13.0), adjust the port to mach expo (19000) and then run my expo (expo v 6.3.2) app ("npx expo start
" followed by "A
") on a simulated android device with Expo Go (all on Windows 11). Both expo and RNDebugger are on the same port 19000.
Still, starting the JS debugging from the dev menu (or from the expo console with "J
") launches a separate Chrome Dev Tools window (which is also separate from any browser) and doesn't connect to React Native Debugger. Does anyone know why? Can I manually force expo to use React Dev Tools instead?
Possible clue? The devtools always launches as a separate chrome dev tools window for me, as opposed to inside my chrome browser. I don't know if this is connected with the above error.
What I've tried
- Restarting everything, including the computer.
- Launching expo with this command, as suggested elsewhere: "
$env:REACT_DEBUGGER="unset ELECTRON_RUN_AS_NODE; start-process 'rndebugger://set-debugger-loc?host=localhost&port=19000'" npx expo start
" - Setting
"jsEngine": "jsc"
in the expo object in app.json, as suggested in another thread. Gave the error: "No compatible apps connected. JavaScript Debugging can only be used with the Hermes engine.
"