joyent/node — Issue #2724: --debug-brk doesn't work
Author: raincole
Created: 2012-02-09 08:28:20+00:00
State: open

I think the `--debug-brk` CLI options makes `node` stop at first line of script.

But it doesn't.

$ node --debug-brk server.js

debugger listening on port 5858
1
2

server.js:

console.log("1");
console.log("2");

The line 1 & 2 of `server.js` still be executed. Why the `--debug-brk` doesn't work?

My `node` version is 0.6.10.