1. 在catalina.sh(linux)或catalina.bat(windows)中增加以下配置:
CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555"
address只要没有被占用都可以
2.在本机Myeclipse中打开debug configuration找到remote java application进行配置
tomcat 监听端口设置
猜你喜欢
转载自azazazxx.iteye.com/blog/1498309
今日推荐
周排行