node package manager


Easily Debug Node Apps

A work in progress. See todos. Limitations:

  • Regular node.js app debugging only for now
  • OSX only for now (Pull Requests welcome)


  • One step debugging debugger your-script.js
  • Save/Restores your window position
  1. Install debugger

    npm install -g debugger
  2. To debug a script

    debugger your-script.js
  3. The Debugger App should now be open with devtools ready to go. NOTE: Right now it will set a breakpoint on the first line, there's a todo to make configure this with an command line argument

  1. To make your global debugger command point to your local code. Run the following from the debugger source root folder:

     ln -s -f $("pwd")/bin/debugger-bin.js /usr/local/bin/debugger
  • Special thanks to Camilo Aguilar (c4milo/@c4milo) for releasing the debugger module name for this projects usage
  • node-inspector for the heavy lifting in debugging
  • electron for making desktop apps so easy to make
  • electron-prebuilt for making electron even easier to use in projects