idea实现远程debug

发布时间 2023-05-08 21:49:58作者: 郭慕荣
nohup java -Xmx256m -Xms128m  -Xmx256m -Xms128m -Dspring.cloud.nacos.discovery.ip=150.158.28.239 -Xdebug
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar ./love-user-management-1.0-SNAPSHOT.jar >/dev/null 2>& 1 &

其实就是为了解决测试环境测试有问题,然后本地环境代理测试环境进行debug,参考地址:
https://www.cnblogs.com/LiuFqiang/p/16636916.html
https://blog.csdn.net/qq_39341318/article/details/116154413
https://blog.csdn.net/qq_43227967/article/details/118936728
https://it.cha138.com/shida/show-468132.html