idea 调试远程tomcat

 

# ----- Execute The Requested Command -----------------------------------------

JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,address=57716,suspend=n,server=y"

 

1.启动 tomcat 

./bin/startup.sh 

2.启动 idea

3.结果

4.在项目中打打断点即可

 

posted @ 2017-06-21 16:03  张建斌  阅读(247)  评论(0编辑  收藏  举报