Skip to content

Commit

Permalink
The debug test needs to specify configuration, after a second Native …
Browse files Browse the repository at this point in the history
…Image configuration was added.
  • Loading branch information
entlicher committed Apr 1, 2021
1 parent 0344bcf commit f0b395c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions java/java.lsp.server/vscode/src/test/suite/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ class Main {
then(() => waitUserApplication(5, false, () => resolve(true)));
}
console.log("Test: invoking debug debug.run");
vscode.commands.executeCommand("workbench.action.debug.run").then(
() => waitUserApplication(5, true, onProcessStarted));
const workspaceFolder = (vscode.workspace.workspaceFolders!)[0];
vscode.debug.startDebugging(workspaceFolder, {type: "java8+", name: "Launch Java 8+ App", request: "launch"}, {}).
then(() => waitUserApplication(5, true, onProcessStarted));
});
return r;
} catch (error) {
Expand Down

0 comments on commit f0b395c

Please sign in to comment.