Skip to content

Debug: couldn't start dlv-dap #1693

Closed
Closed
@hyangah

Description

@hyangah

https://stackoverflow.com/questions/68753251/couldnt-start-dlv-dap

image

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

Metadata

Metadata

Assignees

Labels

DebugIssues related to the debugging functionality of the extension.FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions