Breakpoints doesn't work in nodejs

Hi,
When I try to set a breakpoint and debug the file, the debugger just run the app without stopping at breakpoints.
This is my code:

 
console.log('123');

And this is my output:

/usr/bin/node --debug-brk=39765 --nolazy index.js
debugger listening on port 39765
123

Process finished with exit code 0



Does anyone has an idea how to solve this?

4 comments
Comment actions Permalink

What node.js version do you use? Is it node.js or io.js? Do you see any errors when debugging your code?

0
Comment actions Permalink

v0.10.25


And I do not see any errors.
0
Comment actions Permalink

Very strange indeed... What IDE version do you work with?


0

Please sign in to leave a comment.