一:tomcat 配置
1.在tomcat bin 目录下找到catalina.bat
2.编辑catalina.bat,找到set JPDA_ADDRESS=8000,修改为其他端口,如19999
3.进去tomcat bin 文件目录,在cmd中执行catalina jpda start

二:idea 配置
1.点击edit configurations
2.点击+,添加remote,host 中填写你要访问的tomcat地址,端口号为你之前设置的JPDA_ADDRESS

idea 远程连接tomcat 进行debug 调试查看错误
3.启动remote

相关文章:

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