eclipse 调试 tomcat
linux:bin文件夹下:
export JPDA_ADDRESS=8000 export JPDA_TRANSPORT=dt_socket ./catalina.sh jpda start
export JPDA_ADDRESS=8000
export JPDA_ADDRESS=
8000
export JPDA_TRANSPORT=dt_socket
./catalina.sh jpda start
Eclipse:
Debug configuration Remote Java Application Host:192.168.1.1 Port:8000
Debug configuration
Remote Java Application
Host:192.168.1.1
Port:8000