Skip to main content

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

Hello, Dobrin 
there is no additional step required for setting breakpoint and it is definitely not a node version limitation. 

On Tue, Jul 5, 2016 at 10:55 PM, Gorkem Ercan <gorkem.ercan@xxxxxxxxx> wrote:

Do you have any validation errors on the file that you are setting the breakpoint on?

Gorkem


On 5 Jul 2016, at 16:34, Alexiev, Dobrin wrote:

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
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top