tomcat
配置https
https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html#Quick_Start
远程调试
catalina.bat上面加
SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
或者
create file debug.bat/.sh
(depending on your OS) in %TOMCAT_HOME%/bin
directory and write
set JPDA_ADDRESS=8000 set JPDA_TRANSPORT=dt_socket catalina.bat jpda start
或者修改<!tomcat!>/bin/startup.bat文件,在call命令添加jpda,并且在其之前添加参数JPDA_ADDRESS和JPDA_TRANSPORT命令,参考:
set JPDA_ADDRESS=8083 set JPDA_TRANSPORT=dt_socket call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%