7

I am very newbie to eclipse as well as the node.js is concerned. I have tried several basic programs in node.js.

Now my question is there are many articles explaining how to debug the node program in eclipse. I dnt get it working. I am on windows 7 32-bit machine and installed eclipse Indigo with node-eclipse plugin installed..

Please can any body help me how to start debugging with programs.

Disclaimer: I am very new to eclipse IDE, Node & this stackover flow as well, please help..

1
  • 2
    As a long time Eclipse user, contributor, and lover, I would recommend against using Eclipse for JavaScript development. For debugging, I use node-inspector. I know that's not the answer you want to hear, but that's the only answer I have. Commented Aug 20, 2013 at 5:20

1 Answer 1

4

Debugging - Breakpoint, Trace, etc... via Eclipse debugger plug-in for V8

How to Install:

How to debug:

Open the JavaScript source files that you want to set breakpoints.

Double-click on the ruler at the left end of the line you want to set a breakpoint.

If you want to remove a breakpoint, double-click on the ruler again.

Select the main source file of Node Application on the Project Explorer, open the context menu by right-clicking, select the [Debug As]-[Node Application] menu.

Happy debugging ;)

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

3 Comments

The second link is dead now
First link is serving Chinese content?
@ankitkpd Thanks

Your Answer

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