Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing Debug JS Remotely option in Developer Menu

In order to use React Native Debugger, I don't see the option 'Debug JS Remotely' when I open the Developer Menu both on my android simulator and my physical device, using expo. Tried both scenarios and no option for Debug JS Remotely...

(I originally wanted to use my external device with React Native Debugger and I can't find the setupDevtools.js file at node_modules/react-native/Libraries/Core/Devtools/setupDevtools.js in order to update this file for use. I don't know if these two might be related, but also wanted to share)

Am I missing something? Thank you...

like image 505
Volkan Ersan Avatar asked Jan 13 '20 18:01

Volkan Ersan


1 Answers

I guess the option Debug JS Remotely has been replaced by the option Debug with the latest version of react-native.

And If you want to use your external device with a debugger just shake the device and select the debug option from the developer menu.

But as @JoeBe suggested you should also look for an already open debugger and then try it.

You can also open the developer menu just by pressing d on node.js screen if you are using the latest version of react-native.

like image 87
Parth shrivastav Avatar answered Sep 22 '22 20:09

Parth shrivastav