Skip to content
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

PRovide a way to actually enable the natvis diagnostics in VS Code #1432

Open
nikitalita opened this issue Dec 21, 2023 · 4 comments
Open

PRovide a way to actually enable the natvis diagnostics in VS Code #1432

nikitalita opened this issue Dec 21, 2023 · 4 comments
Labels

Comments

@nikitalita
Copy link
Contributor

There doesnt seem to be any way to enable the diagnostic output if you're using this with VS Code; I have no idea how to debug natvis issues without this ability.

@WardenGnaw
Copy link
Member

WardenGnaw commented Dec 21, 2023

You should be able to enable natvis diagnostic in your launch.json.

E.g.

{
   "program": ...,
   "natvisDiagnostics": "verbose"
}

See https://github.com/microsoft/vscode-cpptools/blob/8d42c49b77aadb5ae4286f21efcd159601118805/Extension/package.json#L3730

@nikitalita
Copy link
Contributor Author

Ah, it needs to be in the logging object, like this:

{
   "program": ...,
   "logging": {
         "natvisDiagnostics": "verbose",
    },
}

@nikitalita

This comment was marked as outdated.

@NValerij
Copy link

@WardenGnaw could you write, please, in what window logs should appear?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants