The Chrome Remote Debugging Protocol implemented for node. This allows you to do things like this:
// After starting a node process with --debug-brkvarAgents=require('bugger-agents').attachToPort(5858);// Chaining has the special meaning of "in series"Agents.Debugger.enable().resume();// Equivalent, explicit:Agents.Debugger.enable().then(function(){// Promise is bound to the agent by default, so this.resume() would workAgents.Debugger.resume();});