Intellij远程调试Tomcat

时间:2018-08-14 13:50:24

标签: debugging tomcat remote-debugging intellij-14

我正在使用intellij和tomcat进行调试。现在,我可以调试了,但是当我更改代码时,看不到这些更改,而intellij忽略了这些更改,请对旧代码进行调试。

我使用以下软件:

  • IntelliJ Ultimate 2018.2
  • Tomcat 8.5

配置智能

  • 编辑配置
  • 添加tomcat服务器-本地

official tutorial

配置tomcat:

在文件service.bat

  

-JvmOptions“ -Xms3G; -Xmx4G; -Xmn512m; -XX:+ UseCompressedOops; -XX:+ UseConcMarkSweepGC; -Dcatalina.home =%CATALINA_HOME%;-Dcatalina.base =%CATALINA_BASE%; JPDA_ADDRESS = 8000; JPDA_TRANSPORT = dt_socket; -D%ENDORSED_PROP%=%CATALINA_HOME%\已认可; -Djava.io.tmpdir =%CATALINA_BASE%\ temp; -Djava.util.logging.manager = org.apache.juli.ClassLoaderLogManager; -Djava.util .logging.config.file =%CATALINA_BASE%\ conf \ logging.properties; -Dedtftp.log.level = ERROR; -DaddRoleInfo = true; -Dftp_dandori_host = localhost; -Dftp_dandori_user = ftp_creactives; -Dftp_dandori_pwd = S0mMeR2O14; -DtestWS ; -agentlib:jdwp = transport = dt_socket,address = 62568 ,suspend = n,server = y; -DwriteSAP = test; -DstopAutoGR = yes; -DstopLDAPUsers = yes; -Ddisable.new.upload = true; -Dh4c.config.path =%CATALINA_HOME%.. \ files \ conf“   ^

0 个答案:

没有答案