其他分享
首页 > 其他分享> > spring boot / tomcat 远程调试.

spring boot / tomcat 远程调试.

作者:互联网

spring boot 允许远程调试

nohup java -Dspring.profiles.active=dev -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5085 -jar abcdef.jar > nohup.out &

tomcat 允许远程调试

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5085

标签:suspend,tomcat,spring,boot,jar,transport,远程,调试
来源: https://www.cnblogs.com/whm-blog/p/16305229.html