Debugging React Native Packager

Shaheen Ghiassy
Aug 18, 2015 · 1 min read

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

Shaheen Ghiassy

Written by

Fullstack Mobile & Web Engineer.