Has anyone setup remote debugging between Eclipse and a Tomcat instance 
running in a VM?

I have Eclipse running on my laptop and a VM running Tomcat.  I started 
Tomcat on the VM with debugging enabled:

TOMAT_HOME/bin/startup.sh -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

Then I setup port forwarding in Vagrant so that the host port 8041 was 
directed to the VM port 8000:  node.vm.network :forwarded_port, guest: 
8000, host: 8041

Then I tried to create a remote debugger from Eclipse to the VM on 
127.0.0.1:8041, but it always times out before the debugger attaches.

Does anyone know if this looks correct or if I'm missing some other 
configuration?

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to