-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to specify visualizerFile (and other launch configuration options) in debug config #453
Comments
Hello, Did you find this doc? |
Hi yes I read the documentation - I didn't see anything around specific launch config options though? Did I miss it? |
At first read, I think the usable variables section answers your question. If not, please elaborate on your issue. |
Hi. Sorry I don't understand how parameterising the debug config can make it use options from launch.json. Here's an example launch.json config object
Elements like |
This extension does not do any debugging, it uses the debug adapters/extensions. Don't depend on launch config. Try setting your |
Yes, debugging works fine using the Specifically, the |
check log message
|
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
The text was updated successfully, but these errors were encountered: