Idea 配置
创建remoteIdea配置
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
Tomcat配置
Tomcat配置Tomcat配置
export JAVA_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005'
Jpda 启动Tomcat
重启tomcat服务,使用./catalina.sh jpda start命令,以jpda的方式启动tomcat服务
网友评论