idea远程连接服务器tomcat 打开服务器tomcat bin 下 catalina.sh 添加 CATALINA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" 配置idea debug启动