Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Debugging a node program

Hello,

 

I just tried using Eclipse Neon and wanted to debug a small node app.

I tested the Windows version with the latest node runtime (v.4.4.7) and I had no issues. Everything worked.

 

When I tried the Linux version it did not find my current node installation automatically. I had installed it in its default location HOME/.nvm/v0.10.26/bin/node.

Once I added the node path to my “_javascript_ Runtimes” from the preference page I was able to debug my project.

 

But I was not able to add breakpoints. Every time I click in the editor’s selection margin I see an error message “A valid location could not be found for the breakpoint”.  

Is this a node version limitation, or I need to setup something to be able to add breakpoints while debugging?

 

Regards

Dobrin


Back to the top