`

How to remote debug with Eclipse

    博客分类:
  • Java
阅读更多

1. 配置Tomcat支持remote debugging

给JVM加上如下的启动参数:

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

2. Eclipse 里新建一个Remote Java Applications的debug

“Run->Debug …”, then “Remote Java Applications”, “New”,port添8000。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics