Javascript and coffeescript can be hard, and writing hubot scripts even harder. If you are stumped with what hubot is actually doing, you can use node-inspector to poke around.
To get started:
- run
bin/hubot --debug
- in a different console, run:
script/inspector
- open http://localhost:8081/debug?port=5858 in node-inspector supported browser (ie Google Chrome)
The debugger starts you in node_modules/hubot/bin/hubot
, but you can broese up to the hubot root directory, and then into scripts
to get at the our scripts.
Unfortunately, the contents of scripts
in node-inspector seems to be the compiled javascript, rather than coffeescript, but it is better than nothing.
bin/hubot --debug
no longer works in latest version. They seem to have changed a lot of stuff.