Skip to content

VSCode asks for "dlv-dap" to install #63

@KEINOS

Description

@KEINOS

Running the current (d56a03b) container in VSCode the blow message appears.

The "dlv-dap" command is not available.
Please select "Install", or follow the installation instructions here.

Even though it installs the latest dlv command, it doesn't install the dlv-dap.

go install "github.com/go-delve/delve/cmd/dlv@master" && \

$ ls -la /go/bin | grep dlv
-rwxr-xr-x    1 vscode   root      16640208 Jan 17 03:10 dlv

Seems that dlv-dap is an alias of dlv, adding the sym-link as below in the Dockerfile's RUN directive, fixed the problem.

ln -s /go/bin/dlv /go/bin/dlv-dap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions