java 远程调试

在catalina.sh增加如下两个配置项:
JPDA_TRANSPORT=dt_socket
JPDA_ADDRESS=5006
修改startup.sh最后一行
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"

J2SE
-Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n

你可能感兴趣的:(java)