Skip to content

Debug test with specific set of environment variables #2370

Closed
@nfx

Description

@nfx

Is your feature request related to a problem? Please describe.
This extension gives a great code lens to debug a test, though it seems not to be possible to debug test with a different set of environment variables. .vscode/launch.json doesn't seem to be picked up. This approach is very handy in troubleshooting regressions or experimenting with an existing code.
image

Describe the solution you'd like
Ability to debug a GoLang test with different sets of environment variables and possibly other flags.

Describe alternatives you've considered
The workaround is to launch vscode process with specific set of environment variables, but this is sub optimal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebugIssues related to the debugging functionality of the extension.FrozenDueToAgedebug/configIssues for config discrepancies b/n settings.json, launch.json, launch with F5, run test, debug test

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions