spring boot 带远程调试启动方式

比如启动service-system-0.0.1-SNAPSHOT.jar和service-file-0.0.1-SNAPSHOT.jar 

nohup java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=7999,suspend=n -jar service-system-0.0.1-SNAPSHOT.jar > /dev/null 2>&1 &



nohup java  -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n -jar service-file-0.0.1-SNAPSHOT.jar > /dev/null 2>&1 &

你可能感兴趣的:(spring boot 带远程调试启动方式)