idea远程调试tomcat部署项目(windows环境)

1、tomcat启动之前,修改apache-tomcat-8.5.34\bin\catalina.bat文件,设置调试端口

如下设置(windows环境):

rem ---------------------------------------------------------------------------此为注释
set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8021

2、idea设置如图:

idea远程调试tomcat部署项目(windows环境)_第1张图片

转载于:https://www.cnblogs.com/sung1024/p/11262368.html

你可能感兴趣的:(idea远程调试tomcat部署项目(windows环境))