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.

setting gcflags in the .vscode/settings.json disables test debugging #2415

@ran-berenfeld

Description

@ran-berenfeld

Hello

if I set this in the workspace settings :

"go.testFlags": [
    "-gcflags=-l", 
],

then running a test using the "debug test" link will result in :

go test: gcflags flag may be set only once
run "go help test" or "go help testflag" for more information
Process exiting with code: 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions