Java debug mode
JVM options
Add something like
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006
To the jvm options. This means you can connect to the jvm on port 5006
In intellij, you can set this up as a remote configuration. I kept the default values:
Transport: socket
Debugger mode: attach
After the jvm is started, the maching hosting the jvm will be listening on TCP port 5006.
Published: Sunday, 13 June 2010

