idea远程连接服务器tomcat

  1. 打开服务器tomcat  bin 下 catalina.sh
  2. 添加  CATALINA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777"
  3. 配置idea
  4. debug启动
原文地址:https://www.cnblogs.com/cuiguangpeng/p/11996713.html