Closed
Description
https://stackoverflow.com/questions/68753251/couldnt-start-dlv-dap
launch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch file",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}",
"showLog": true,
"env": {
"GO111MODULE": "on"
}
}
]
}
I suspect the default timeout (5sec) is too short, or some other bug prevented the dlv dap server from starting:
If any of you encountered an issue, can you please try the following command and time how long it takes?
$ dlv-dap dap --listen=:12345 --log --log-output=dap