node.jsdebuggingkomodo-ide

How to debug nodejs with komodo IDE?


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.


Solution

  • 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.