I've used the Using Eclipse as Node Applications Debugger (https://github.com/joyent/node/wiki/using-eclipse-as-node-applications-debugger) to attempt to remotely debug a node script. My environment consists of a MAC OSX (version 10.9.4) client on which I've successfully installed Eclipse Luna Release (4.4.0) Build id: 20140612-0600 and a Debain Wheezy Linux VM (VBOX 4.3.14). The firewall is correctly configured and both environment have the latest Node.JS installed (v0.10.31).
I was able to successfully debug a script locally with Eclipse on the MAC OSX client but I get a connection failure on the the attempt to debug remotely on the Debain Wheezy machine. ***Nodeclipse/chromedevtools failed to connect to Standalone V8 VM ( Check Help (F1) and Support http://www.nodeclipse.org/#support )* . Info: Connection refused
I do run the "node --debug-brk dbgtest.js" on the Debain Wheezy machine with the defualt port: 5858. The debugger starts successfully on port 5858: tcp 0 0 127.0.0.1:5858 0.0.0.0:* LISTEN
I also tried the simple transparent TCP proxy script (tcpproxy.js) setup but it returns the same connection failure.
I have also successfully setup port forwarding (ssh -R 5858:127.0.0.1:5858 [user]@[Debian-Host-Name]) to the Debain machine but this did not help.
Any assistance would be appreciated.