You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在VS Code中调试Go代码遇到问题求助

在VS Code中调试Go代码遇到问题求助

大家好,我在VS Code里调试Go代码的时候碰到了麻烦,想请教下各位该怎么解决。

目前我的launch.json配置写了一部分,内容如下:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    "version": "0.2.0",
    "configurations": [
        {
            "name": "server",
            "type": "go",
            // 后面的配置内容还没写完,现在卡在这儿了
        }
    ]
}

另外我还有一张标注为「gopark」的截图,能辅助说明我遇到的问题场景。

有没有大佬能帮我看看这个情况,给点调试Go代码的建议呀?

备注:内容来源于stack exchange,提问作者Richard Cong

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.13 16:54:35