1.在tomcat的catalina.sh中添加CATALINA_OPTS="-Xdebug  -Xrunjdwp:transport=dt_socket,address=8222,server=y,suspend=n"

myeclipse远程调试linux的tomcat

2.启动tomcat,命令为 bin/startup.sh。实测这样就可以,而不是像网上说的用其他命令来启动。

3.在myeclipse对应的工程下点右键->debug as->debug configurations->remote java application->对应的工程名
填写好ip和端口,然后点击debug按钮就可以进入调试了

myeclipse远程调试linux的tomcat

相关文章:

  • 2021-07-07
  • 2021-10-20
  • 2021-04-25
  • 2021-07-13
  • 2021-12-23
  • 2022-12-23
  • 2021-12-20
  • 2021-11-26
猜你喜欢
  • 2021-10-02
  • 2021-06-06
  • 2021-07-24
  • 2021-08-06
  • 2021-07-03
相关资源
相似解决方案