IntelliJ远程调试教程

https://www.cnblogs.com/wy2325/p/5600232.html

https://blog.csdn.net/yztezhl/article/details/79026404

jar

-Xdebug -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=${debug_port}

tomcat 

Linux下(CentOS)

在catalina.sh中的首行添加:

CATALINA_OPTS="-Xdebug  -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"

idea new remote

原文地址:https://www.cnblogs.com/silyvin/p/11072299.html