Skip to content

Commit d53378d

Browse files
authored
Merge pull request #99678 from microsoft/isidorn/fix-no-debug
Fix noDebug argument not being passed
2 parents 9f89da6 + cf20906 commit d53378d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/debug/browser/debugService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,10 @@ export class DebugService implements IDebugService {
373373
config = Object.create(null);
374374
}
375375
const unresolvedConfig = deepClone(config);
376-
377376
if (options && options.noDebug) {
378377
config!.noDebug = true;
378+
} else {
379+
delete config!.noDebug;
379380
}
380381

381382
if (!type) {

0 commit comments

Comments
 (0)