How to debug Node.js programs in eclipse (using node-eclipse)?
debugging, eclipse, eclipse-plugin, node.js
Solution
Debugging - Breakpoint, Trace, etc... via Eclipse debugger plug-in for V8
How to Install:
- Update Site : https://nodeclipse.github.io/updates/
- Testing Site: http://www.tomotaro1065.com/nodeclipse/updates/
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.
- For more, Please Check Nodeclipse & Using Eclipse as Node Applications Debugger
Happy debugging ;)
Problem
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..