| ?eclipse??JVM????2011-12-26 15:52:39by SeaCat 在JVM启动参数中增加以下内容:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
其中,address是远程debug服务所使用的端口,必须是一个空闲端口号。 对于Tomcat,可以在startup.sh中设置JAVA_OPTS环境变量,增加上述参数。 Demo Attachments |
| ?eclipse??JVM????2011-12-26 15:52:39by SeaCat 在JVM启动参数中增加以下内容:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
其中,address是远程debug服务所使用的端口,必须是一个空闲端口号。 对于Tomcat,可以在startup.sh中设置JAVA_OPTS环境变量,增加上述参数。 Demo Attachments |
Comments
0 Responses to the article暂时没有评论。