I am running MyEclipse on OS X, trying to attach to a Tomcat 5.5 server running on Windows XP (via Parallels VM on the same machine). Problem is, I cannot get MyEclipse to see/connect to the debug port 8000.
I have Tomcat configured with the following JVM options to enable debugging:
-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
Launching from within Win, the console shows all this is starting properly. I can use a browser on the Mac to see it is running (Windows has its own IP separate from Mac).
But when I try to connect remotely via MyEclipse I get “Failed to connect to remote VM. Connection timed out.” (org.eclipse.jdi.TimeoutException). Firewall on Win is open for 8000.
To connect I’m using Debug… “MyEclipse Externally Launched Server”, and have it configured for the Win IP, port 8000, attach via standard (sockets).
And no, it is not possible for me to run Tomcat on Mac… the app requires DLLs and other Win-centric fooforah.
Help!