Skip to content

Commit 94ec16e

Browse files
support multiple natvis files in visualizerFile debugConfig (#4411)
Co-authored-by: Garrett Campbell <[email protected]>
1 parent 076c38a commit 94ec16e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2371,7 +2371,19 @@
23712371
}
23722372
},
23732373
"visualizerFile": {
2374-
"type": "string",
2374+
"anyOf": [
2375+
{
2376+
"type": "string",
2377+
"default": ""
2378+
},
2379+
{
2380+
"type": "array",
2381+
"default": [],
2382+
"items": {
2383+
"type": "string"
2384+
}
2385+
}
2386+
],
23752387
"description": "%cmake-tools.configuration.cmake.debugConfig.visualizerFile.description%"
23762388
},
23772389
"args": {

src/debug/debugger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface CppDebugConfiguration {
3434
externalConsole?: boolean;
3535
console?: ConsoleTypes;
3636
logging?: DebuggerLogging;
37-
visualizerFile?: string;
37+
visualizerFile?: string | string[];
3838
args?: string[];
3939
cwd?: string;
4040
environment?: proc.DebuggerEnvironmentVariable[];

0 commit comments

Comments
 (0)