Skip to content

Commit c25410e

Browse files
author
Dave Bartolomeo
committed
Log config settings
1 parent 81b2407 commit c25410e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

extensions/ql-vscode/test/vscode-tests/cli-integration/queries.test.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,19 @@ async function compileAndRunQuery(
8484
console.log(`Content: ${doc.getText()}`);
8585
}
8686
}
87+
const scopelessConfig = workspace
88+
.getConfiguration("debug")
89+
.get<string>("saveBeforeStart", "default");
90+
const qlConfig = workspace
91+
.getConfiguration("debug", { languageId: "ql" })
92+
.get<string>("saveBeforeStart", "default");
93+
const codeqlConfig = workspace
94+
.getConfiguration("debug", { languageId: "codeql" })
95+
.get<string>("saveBeforeStart", "default");
96+
97+
console.log(`Scopeless config: ${scopelessConfig}`);
98+
console.log(`QL config: ${qlConfig}`);
99+
console.log(`CodeQL config: ${codeqlConfig}`);
87100
console.log("Starting debugging");
88101
await controller.startDebugging(
89102
{

0 commit comments

Comments
 (0)