File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/debugger Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,14 +10,18 @@ interface QLDebugArgs {
1010 query : string ;
1111 database : string ;
1212 additionalPacks : string [ ] | string ;
13+ extensionPacks : string [ ] | string ;
1314}
1415
1516type QLDebugConfiguration = DebugConfiguration & Partial < QLDebugArgs > ;
1617
18+ interface QLResolvedDebugArgs extends QLDebugArgs {
19+ additionalPacks : string [ ] ;
20+ extensionPacks : string [ ] ;
21+ }
22+
1723export type QLResolvedDebugConfiguration = DebugConfiguration &
18- QLDebugArgs & {
19- additionalPacks : string [ ] ;
20- } ;
24+ QLResolvedDebugArgs ;
2125
2226export class QLDebugConfigurationProvider
2327 implements DebugConfigurationProvider
@@ -71,6 +75,12 @@ export class QLDebugConfigurationProvider
7175 : typeof qlConfiguration . additionalPacks === "string"
7276 ? [ qlConfiguration . additionalPacks ]
7377 : qlConfiguration . additionalPacks ,
78+ extensionPacks :
79+ qlConfiguration . extensionPacks === undefined
80+ ? [ ]
81+ : typeof qlConfiguration . extensionPacks === "string"
82+ ? [ qlConfiguration . extensionPacks ]
83+ : qlConfiguration . extensionPacks ,
7484 } ;
7585
7686 return resultConfiguration ;
You can’t perform that action at this time.
0 commit comments