react-nativereact-native-debugger

Unable to get React Native Debugger to work in Ubuntu: 'waiting for React to connect' message


I've set up an app in React Native on Ubuntu 20.04 and am trying to get React Native Debugger to connect. I've installed the debugger from the .deb file then launched it from launcher before starting the Android emulator. On the debugger, I am getting a 'Waiting for React to connect...' message. If I navigate to:

http://localhost:8081/debugger-ui/

I see the 'Another debugger is already connected' message when the React Native Debugger GUI is running, it disappears when I quit the debugger. So it is doing something and there is some connection there.

Are there any steps that I missed? I got the impression that it should work out of the box.

react-native version is 0.63.2, the Debugger is 0.11.4


Solution

  • I had to press CTRL + M on the emulator and click on 'Debug', this connected to the debugger.