--------------------
文件夹下.vscode/launch.json文件:
{
"version": "0.2.0",
"configurations": [
{
"name": "golang",
"type": "go",
"request": "launch",
"mode": "auto",
//当运行单个文件时{workspaceFolder}可改为{file}
"program": "${workspaceFolder}",
"env": {},
"args": []
}
]
}
作者:湛墨染
链接:https://www.jianshu.com/p/e4cca4fe6478
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
【转】【VSCode】golang的调试配置launch.json
原文:https://www.cnblogs.com/oxspirt/p/15120287.html