Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Debugging Hubot Scripts using Node Inspector


Use node-inspector to debug hubot!

sudo npm install -g node-inspector

Run Hubot in Debug Mode

coffee --nodejs --debug $(which hubot)

if you need to freeze execution on the first line of the node script, use this instead:

coffee --nodejs --debug-brk $(which hubot)

Start node-inspector

node-inspector or node-inspector &

Visit in browser (chrome) and start making changes


  • You have to restart node-inspector when you stop your node program
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.