1

I want to run a node.js project locally and create a debugging session. Normally, this would be accomplished by running "debug as" a node project in Eclipse. However, when I run the debugging session, nothing seems to run locally. In other words, when I open a browser and point to localhost, nothing is running.

It says the "debugger listening on port 5858", but my application doesn't appear to be running via any port.

enter image description here

and when I try to debug it using the V8 debugger I get this error:

enter image description here

2 Answers 2

1

I'm no node expert, but i guess the following will solve your problem: You have to start two programs in debug mode. Besides your remote debug start configuration, you also have to start a server in debug mode first. Your remote debug mode will then connect to it, when started.

Sign up to request clarification or add additional context in comments.

Comments

0

Nodeclipse sometimes has issue #72 when launching Node app. (Exact reason is not clear as it is hard to reproduce once it is fixed. This is Java version related issue)

See toggleBreakpointsTargetFactory specified id is already registered , and node.js express app won't start (or debug) in Eclipse (Nodeclipse)

Create issue on GitHub with exact environment specification.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.