Debugging React Native Packager

Debugging React Native is really easy. But what if you want to debug React Native’s Packager?

Use node-insecptor

node-inspector & node --debug-brk ./node_modules/react-native/packager/packager.js

It will give you an output like so

Debugger listening on port 5858
Node Inspector v0.11.1
Visit http://127.0.0.1:8080/?ws=127.0.0.1:8080&port=5858 to start debugging.

Once you visit the URL above (and hit play on the debugger), you will get full debugging support

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.