jhen0409 / jhen0409/react-native-debugger

RN-Debugger opens a new window everytime my app is reloaded

Open
#659 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.4k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

React Native Debugger app version: 0.12.1
React Native version: 0.66.0
Platform: Android
Is real device of platform: Yes
Operating System: Ubuntu Virtual Machine

To reproduce this simply create a new app with npx react-native init , launch the debgger, and then open a metro server with npx react-native start, and then install the app with npx react-native run-android.

In my .bashrc folder I have added the following export, as without this the chrome debugger would always launch and the rn-debugger would not work.

# export REACT_DEBUGGER=/home/dhead/Downloads/rn-debugger-linux-x64/react-native-debugger

Whether I reload the app with the metro server terminal or directly within the debugger I am not able to prevent a new debugger window from opening, and thus disconnecting from the existing debugger window.

Please let me know if there is something I can do to stop this, as it effectively renders this tool useless given I cannot make minor changes to my code and reload the app as I step through my code.

Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.