当我在 VSCode dlv 调试中启动时,我收到以下消息:
用户指定的“dlvLoad配置”设置将被调试适配器“dlv-dap”忽略。
来源是Go夜间扩展。
配置部分是否已变得不可用(已过时)?dlvLoadConfig
启动.json :
"configurations": [
{
"name": "Application Server",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/main.go",
"args": ["--config", "${workspaceFolder}/configuration/application.toml"],
"env": {
"CC":"/usr/bin/gcc",
"GOOS":"linux",
"GOARCH":"amd64",
"CGO_ENABLED":1
},
"dlvLoadConfig": {
"followPointers": true,
"maxVariableRecurse": 1,
"maxStringLen": 1024,
"maxArrayValues": 64,
"maxStructFields": -1
},
"trace": "log"
// "buildFlags": "-tags dev -ldflags '-X main.BuildDate=2021-04-28T19:38:16+03:00'"
}
]
梵蒂冈之花
慕慕森
Qyouu
相关分类