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