服务器运行的jar,才能远程调试
nohup java -jar -Dspring.config.location=./config/application.yml -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5008 xxxx-0.0.1-SNAPSHOT.jar&tail -10f nohup.out
idea设置
端口 5008是用于调试的端口,不是应用程序端口
服务器运行的jar,才能远程调试
nohup java -jar -Dspring.config.location=./config/application.yml -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5008 xxxx-0.0.1-SNAPSHOT.jar&tail -10f nohup.out
idea设置
端口 5008是用于调试的端口,不是应用程序端口