3

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'Debug error

Here are the steps what I did:

  1. Installed Node.js v0.10.0
  2. Installed Eclipse IDE for JavaScript
  3. Installed Chrome debugger for Eclipse by following https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger
  4. Create a debug configuration under WebKit Protocol (refer to bottom picture)
  5. Create a JavaScript project in Eclipse
  6. Create a JavaScript source file in the project
  7. Open a Ubuntu terminal and run the JavaScript source file: node debug test1.js
  8. In Eclipse try debug with the custom debug configuration and the error happens.
  9. 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?

Eclipse debug configuration for Node.js

1 Answer 1

2

Step #4 is incorrect. Should be "Standalone V8 VM".

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

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.