Remote Debug For Java Application On Tomcat
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.
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。