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

张开发
2026/5/31 16:44:53 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

更多文章