开启方法如下:
windows 配置:catalina.bat
代码语言:javascript复制set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
set JPDA_SUSPEND=y
Linux配置catalina.sh
代码语言:javascript复制JPDA_TRANSPORT='dt_socket'
JPDA_ADDRESS='8000'
JPDA_SUSPEND='y'
启动Tomcat的方式:
代码语言:javascript复制cataina.bat/cataina.sh jpda start