jvm-idea远程调试服务

项目启动添加参数:

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

 

打开idea中的run/debug configurations, 选择remote类型,地址配置为服务器地址,端口配置为上述配置参数中的address

 

 

 

参考 :https://www.cnblogs.com/suntingme/p/7591350.html

posted @ 2022-02-18 14:48  higsan  阅读(182)  评论(0)    收藏  举报