Disable verbose logging of symbol loading in vscode debug console
These logs are managed by VS Code. You can disable them in the launch.json
file in the .vscode
directory. You can add the following node under the configurations
node to disable module load messages:
"logging": {
"moduleLoad": false
}
There are more options available such as exceptions
and programOutput
, check out the Intellisense for all available options.
I came to this answer looking for the same thing as the original question was. The answer provided here was correct but I did not understand where I needed to put it. So I decided to add my own answer in hopes of guiding others in the same situation...
All you need to add is the following code to your solution (or project file if you are not working with a solution).
"logging": {
"moduleLoad": false
}
Because it was not clear to me where it needs to be added (there was two separate areas un my "configurations" node called "name": ".NET Core Launch (console)" and "name": ".NET Core Attach"), I wanted to post my entire config to make it much more clear.
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/netcoreapp2.2/example.dll",
"args": [],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopAtEntry": false,
"logging": {
"moduleLoad": false
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]