I have an issue when I try to remote debug via eclipse.
These are the arguments I use:
-Xdebug
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=4044
I also tried setting the address to 0.0.0.0:4044, using this:
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4044
I have tried all sorts of setups, setting suspend to 'y' made the application wait for a debug connection, as soon as it got connected the application continued but a connection couldn't be made.
When I try to connect from eclipse it just times out.
If I run a netstat -tulpn | grep 4044
I get this output:
tcp 0 0 0.0.0.0:4044 0.0.0.0:* LISTEN
After the connection attempt sometimes it stops listening on the port.
Any ideas?