Skip to content

Ability to specify visualizerFile (and other launch configuration options) in debug config #453

Closed
@twhittock-disguise

Description

@twhittock-disguise

Checklist

Is your feature request related to a problem? Please describe.
When debugging my tests, it is frustrating that I am unable to use C++ natvis visualisation files. This is because they are added to my launch configurations in the visualizerFile section.

I am unable to use my launch configurations as it's unclear if/how the executable name and arguments are passed to the configuration.

Describe the solution you'd like
I'd like to either be able to use a generic launch configuration with this extension filling in the appropriate executable and command line arguments, or be able to specify all the launch configuration options in the debug.configTemplate section.

Describe alternatives you've considered
There is a workaround - copy the .natvis files from my project into ~/.vscode(-insiders)/extensions/ms-vscode.cpptools-x.y.z/debugAdapters/vsdbg/bin/Visualizers but this will frequently break due to the cpptools extension being updated.

Additional context
None

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