Use node-inspector to debug hubot!
sudo npm install -g node-inspector
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)
node-inspector
or node-inspector &
http://0.0.0.0:8080/debug?port=5858
- You have to restart
node-inspector
when you stop your node program