Skip to content

Commit 3ddf7a8

Browse files
committed
1 parent d41ca1c commit 3ddf7a8

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,9 @@ export class DebugService implements IDebugService {
372372
// a no-folder workspace has no launch.config
373373
config = Object.create(null);
374374
}
375+
config!.noDebug = !!(options && options.noDebug);
375376
const unresolvedConfig = deepClone(config);
376377

377-
if (options && options.noDebug) {
378-
config!.noDebug = true;
379-
}
380-
381378
if (!type) {
382379
const guess = await this.configurationManager.guessDebugger();
383380
if (guess) {

0 commit comments

Comments
 (0)