JVM远程调试参数

JDK1.3x

-Xnoagent -Djava.compiler=NONE -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

JDK1.4x

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

JDK5-8

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005

JDK9或更新

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005

 JVM远程调试参数_第1张图片JVM远程调试参数_第2张图片

 

 

你可能感兴趣的:(java,jvm,服务器,java)