idea远程调试

若 address=*:5005 提示 transport error 202: gethostbyname: unknown host ,使用 address=0.0.0.0:5005 启动

启动命令
java -Xmx10g -Xms10g -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005 -jar XXXX.jar

你可能感兴趣的:(idea远程调试)