I am trying to use child_process.fork to spawn a process that breaks and listens on the V8 debug protocol.
child_process.fork
However, I can\'t get the forked process to
Before to fork remove old debug-brk parameter :
debug-brk
process.execArgv = process.execArgv.filter(function(o){ var x = "--debug-brk"; return o.substring(0, x.length) !== x });
and add a new one:
process.execArgv.push("--debug-brk=9999");