Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Failed to continue: "The program attribute must point to valid directory, .go file or executable." #2369

@jarviswu

Description

@jarviswu

launch.json:

{ 
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${workspaceRoot}/src",
            "env": {
                "go.gopath": "/Users/wuhaojun/go"    // 打开终端,输入命令 go env 可以查看GOPATH路径
             },
            "args": []
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions