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