The following work for me:
'Debug' instance - connection type 'Standard (Socket Attach)', host localhost, port 8000.
JVM startup parameter (which happens to be passed in via an
Ant task):
"-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
Now, start the server like normal. When you want to debug, run the debug task and it will try to connect to the JVM instance. The important thing is that you start the server like normal before you try to debug - running the debug task won't start the server for you.
I imagine that if you had some sort of firewall program it might block the port...I'd guess in this case you can set it to allow connections from localhost...
Hope that helps,
-Tim
(Edit: make the port numbers match)
[ August 10, 2004: Message edited by: Tim West ]