Search code examples
eclipsenode.jsdebuggingnodeclipsenodemon

nodeclipse debugger configuration


I have problem configuring nodeclipse properly for debugging. I configured nodemon as my node monitor but it seams debbuger doesn't attach to my program but to nodemon.

console says :

/usr/local/bin/node --debug-brk=5858 /usr/lib/node_modules/nodemon/nodemon.js /myproject/server.js 

Debugger stops at the first line of nodemon but doesn't seem to see my programs breakpoint.

Any ideas ? Alternatively, is there a way to run programs from neclipse without node monitor which seem to be always needed...


Solution

  • Problem was in fact due to "corrupted" project. I deleted the project and recreated a fresh one with my files. All is working as expected now.

    Hope it'll hep others.