Skip to content

codelens of Run/Debug is missing on the main func #3770

Closed as duplicate of#159
Closed as duplicate of#159
@Janbro22

Description

@Janbro22

I installed the latest version of Go extension and set relavant configurations correctly. Command of "go run main.go" can work successfully on the teminal, and launch.json can be used to debug, but the vanishment of the codelens: Run | Debug brings some inconvenience in using golang on vscode. In the meantime, run test | debug test codelens can display and function normally.

Has anyone encountered a similar issue? Any suggestions on how to bring back the Run | Debug CodeLens buttons would be greatly appreciated. These buttons were quite helpful for running and debugging functions directly, and their disappearance has made development a bit less convenient. Thanks in advance for any help or insight!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions