Skip to content

Commit

Permalink
Merge branch 'debug-failed-test-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
ianic committed Sep 19, 2023
2 parents 8d9eff3 + a5b080b commit bfc1ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function debugTest(testName: string | undefined) {
const binPath = debugEnv.testBinaryPath;
mkdirp(path.resolve(env.cwd, binPath)); // ensure that output directory exists

const args: string[] = ["test", "--test-filter", testName, env.fileNameRelative, "-femit-bin=" + binPath];
const args: string[] = ["test", "--test-filter", testName, env.fileNameRelative, "-femit-bin=" + binPath, "--test-no-exec"];
runZig(args, env.cwd, () => {
output.appendLine("Debugging binary " + binPath);
startDebugging(env.workspaceFolder, binPath);
Expand Down

0 comments on commit bfc1ee1

Please sign in to comment.