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 to start debugging.

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