1、windows修改startup.bat文件
set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
set JPDA_SUSPEND=n
call “%EXECUTABLE%” jpda start %CMD_LINE_ARGS%
#call “%EXECUTABLE%” start %CMD_LINE_ARGS%
:end
2、linux配置:
startup.sh
declare -x CATALINA_OPTS=”-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8788″