nohup java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005 -jar xxx.jar >>./log.log &
其中主机处要填写服务器IP,保证5005端口能正常通讯
就可以进行断点调试了~