linux环境tomcat开启远程调试

1.切换到tomcat安装目录文件夹,找到catalina.sh,修改

增加一行:

CATALINA_OPTS="-Xdebug  -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"

 

 

 重启tomcat

 

posted @ 2020-10-10 16:23  佟歌  阅读(1003)  评论(0编辑  收藏  举报