idea远程调试jar包
idea远程调试jar包
1 服务器启动jar包 (监听端口5005)
java -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y -jar xxxxxx.jar
2配置idea
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
3 debug启动remote
1 服务器启动jar包 (监听端口5005)
java -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y -jar xxxxxx.jar
2配置idea
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
3 debug启动remote