Permalink
Browse files

process._debugProcess

  • Loading branch information...
1 parent fc61134 commit 72c736d031a87163636b2a75574603c47b6c575a @piscisaureus piscisaureus committed Nov 3, 2011
Showing with 242 additions and 141 deletions.
  1. +240 −139 src/node.cc
  2. +2 −2 test/simple/test-debugger-client.js
View
@@ -147,8 +147,8 @@ function doTest(cb, done) {
nodeProcess.stdout.once('data', function() {
console.log('>>> new node process: %d', nodeProcess.pid);
- process.kill(nodeProcess.pid, 'SIGUSR1');
- console.log('>>> signaling it with SIGUSR1');
+ process._debugProcess(nodeProcess.pid);
+ console.log('>>> starting debugger session');
});
var didTryConnect = false;

0 comments on commit 72c736d

Please sign in to comment.