首页 > 移动平台 > 详细

Remote Debug For Java Application On Tomcat

时间:2014-07-22 23:02:24      阅读:394      评论:0      收藏:0      [点我收藏+]

Our application is running on Tomcat, and sometimes the backend code has some problem, so we need to remote debug the problem.

This is frequently used during our development.

So I record the code here for later use.

 

-Xdebug

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

 

The default address is 8000, and I change it to 9999, because it might has security issue, and this should not always open, just add this for remote debug.

Remote Debug For Java Application On Tomcat

原文:http://www.cnblogs.com/liwp_Stephen/p/3521303.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!