paulgreg paulgreg - 7 months ago 39
Java Question

What are Java command line options to set to allow JVM to be remotely debugged?

I know there's some JAVA_OPTS to set to remotely debug a Java program.

What are they and what do they mean ?

Answer

I have this article bookmarked on setting this up with Eclipse for Java 5 and below.

Basically run it with:

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044