Skip to content

Commit 2de1ae6

Browse files
authored
Do not inject 'debugConsoleVerbosity' for 'coreclr' (#7546)
This PR removes the csharp.debug.debugConsoleVerbosity option from being loaded for 'coreclr' launch.json.
1 parent 8c82526 commit 2de1ae6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/shared/configurationProvider.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,11 @@ export class BaseVsDbgConfigurationProvider implements vscode.DebugConfiguration
193193

194194
for (const key of keys) {
195195
// Skip since option is set in the launch.json configuration
196-
// Skip 'console' option since this should be set when we know this is a console project.
197-
if (Object.prototype.hasOwnProperty.call(debugConfiguration, key) || key === 'console') {
196+
if (
197+
Object.prototype.hasOwnProperty.call(debugConfiguration, key) ||
198+
key === 'console' || // Skip 'console' option since this should be set when we know this is a console project.
199+
key == 'debugConsoleVerbosity' // Skip 'debugConsoleVerbosity' since this is a C# Dev Kit option
200+
) {
198201
continue;
199202
}
200203

0 commit comments

Comments
 (0)