eclipse 远程调试linux项目

来源:互联网 发布:股市收盘数据下载 编辑:程序博客网 时间:2024/05/22 02:23

在tomcat的

 startup.sh 第一行添加 :

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

设置eclipse 远程调试配置

Run-->debug connections


然后打断点就可以调试了!

0 0