Intellij springboot远程调试
服务器端配置:
java -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:5005 XXXX.jar
说明:
address:IP:端口;*代表所有IP地址都可访问,5005需要可IDEA远程请求的端口一致
XXXX.jar:你的springboot程序
java -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:5005 XXXX.jar
说明:
address:IP:端口;*代表所有IP地址都可访问,5005需要可IDEA远程请求的端口一致
XXXX.jar:你的springboot程序