How it works...

First, run your app with the following command:

npm start

On your device (whether real or emulated), access the developer menu by shaking (on an actual device) or using command + m for macOS or Ctrl + M for Windows or Linux. At the very least, you want to enable remote JS debugging:

Using the device's developer menu to enable remote JS debugging

Now, open the react-native-debugger app by clicking on the executable you downloaded. If nothing happens, even after reloading the app, then the problem is surely due to a different port being set: in the menu, select Debugger, then New Window, and pick port 19001, and everything should ...

Get Modern JavaScript Web Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.