Debug Live
This little tool lets you debug your running node.js applications without setting breakpoints!
Installation
npm install debug-live
Usage
//require debug-livevar debugLive = ; //paste in this snippet of code//(the second parameter is the configurable port Debug Live should run on); //let your app do what it needs to dovar counter = 0; ; var a = a : "abc" b : "def";
Start your app, telnet to Debug Live, and look at that all those variables!
$ telnet localhost 1337Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.Welcome to the Live Debugger:>counter36>counter51>counter70>a[object Object]>a.aabc>a.bdef>a.b.cundefined>a.doesntExist.aTypeError: Cannot read property 'a' of undefined>a[object Object]>JSON.stringify>