I have struggled this for couple of days without any success, please help me out.
What I am seeking is to find a better IDE for editing and debugging Node.js based JavaScript server code. I have successfully installed Eclipse IDE for JavaScript and followed link https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger installed Chrome debugger for Eclipse.However, when I tried to debug I encountered an error saying 'Failed to get tabs for debugging'
Here are the steps what I did:
- Installed Node.js v0.10.0
- Installed Eclipse IDE for JavaScript
- Installed Chrome debugger for Eclipse by following https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger
- Create a debug configuration under WebKit Protocol (refer to bottom picture)
- Create a JavaScript project in Eclipse
- Create a JavaScript source file in the project
- Open a Ubuntu terminal and run the JavaScript source file: node debug test1.js
- In Eclipse try debug with the custom debug configuration and the error happens.
- PS: my Ubuntu is 12.04 64bit; NodeJs remote debug port is default 5858
Please help me on this, what did I missing from the steps?