如何使用不同的启动调试配置

时间:2019-06-17 16:37:43

标签: visual-studio-code

以下内容:

{
    "name": "Go client localhost",
    "type": "go",
    "request": "launch",
    "mode": "debug",
    "program": "client/client.go",
    "cwd": "${fileDirname}/go",
    "args": ["-l"]
},

给出此错误:

Failed to continue: "The program attribute must point to valid directory, .go file or executable."

信息:我的代码位于当前工作空间下的文件夹“ go”中

0 个答案:

没有答案