用服务的方式启动程序 java -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y csdn
打开另一个控制台,远程调试(控制台2) jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000
https://blog.csdn.net/youyou1543724847/article/details/84792301
用服务的方式启动程序 java -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y csdn
打开另一个控制台,远程调试(控制台2) jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000
https://blog.csdn.net/youyou1543724847/article/details/84792301
转载于:https://my.oschina.net/xppba/blog/3094749