2022-11-01 09:53阅读: 17评论: 0推荐: 0

java远程debug如何配置tomcat

在tomcat的bin/startup.sh中添加:
27780debug的端口
declare -x CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=27780"

本文作者:zydjjcpdszylddpll

本文链接:https://www.cnblogs.com/jyfs/p/16846736.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   zydjjcpdszylddpll  阅读(17)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起