idea支持本地 的 服务器 远程debug

张开发
2026/4/12 18:57:48 15 分钟阅读

分享文章

idea支持本地 的 服务器 远程debug
服务器启动脚本增加DEBUG_PORTif[[${prefix}web]];thenDEBUG_PORT5005elif[[${prefix}service]];thenDEBUG_PORT5006elseDEBUG_PORT5007fiDEBUG_OPTION-agentlib:jdwptransportdt_socket,servery,suspendn,address*:${DEBUG_PORT}nohup/opt/application/java11/bin/java $JAVA_OPT$DEBUG_OPTION

更多文章