Skip to content

Commit b859bca

Browse files
author
Dave Bartolomeo
committed
Even more logging
1 parent 53a51ab commit b859bca

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,25 @@ async function compileAndRunQuery(
6767
);
6868

6969
case "debug":
70+
console.log("Running query in debug mode");
7071
return await withDebugController(appCommands, async (controller) => {
72+
console.log("Starting debugging");
7173
await controller.startDebugging(
7274
{
7375
query: queryUri.fsPath,
7476
},
7577
true,
7678
);
79+
console.log("Waiting for launch");
7780
await controller.expectLaunched();
81+
console.log("Checking success");
7882
const succeeded = await controller.expectSucceeded();
7983
await controller.expectExited();
84+
console.log("Terminating");
8085
await controller.expectTerminated();
86+
console.log("Closing session");
8187
await controller.expectSessionClosed();
88+
console.log("Done");
8289

8390
return succeeded.results;
8491
});

0 commit comments

Comments
 (0)