Debugging Java code
Last modified by Sebastian Marsching on 2022/05/27 22:19
Java command line options for remote debugging
JPDA_TRANSPORT="dt_socket"
JPDA_ADDRESS="8000"
java -Xdebug -Xrunjdwp:transport=$JPDA_TRANSPORT,address=$JPDA_ADDRESS,server=y,suspend=n
JPDA_ADDRESS="8000"
java -Xdebug -Xrunjdwp:transport=$JPDA_TRANSPORT,address=$JPDA_ADDRESS,server=y,suspend=n
Maven options for remote debugging
MAVEN_OPTS="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"