I've created a project with komodo IDE:
I create debug config:
The program starts but dont stop at the breakpoint:
What am I doing wrong? Is there any step-by-step info for this? Thanx.
I've created a project with komodo IDE:
I create debug config:
The program starts but dont stop at the breakpoint:
What am I doing wrong? Is there any step-by-step info for this? Thanx.
Debugger in nodejs never stops on single-lined app like this. When I have several lines like this, then it would work. Single-lined app exits too fast and debugger can't connect. This is obviously a bug in nodejs.
Node.js only breaks on breakpoints when you run in debug mode.
Either with node debug script.js
or node --debug-brk script.js
.
Here you need to tell the IDE if needs to add the command line arguments to run the script.