We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d41ca1c commit 3ddf7a8Copy full SHA for 3ddf7a8
1 file changed
src/vs/workbench/contrib/debug/browser/debugService.ts
@@ -372,12 +372,9 @@ export class DebugService implements IDebugService {
372
// a no-folder workspace has no launch.config
373
config = Object.create(null);
374
}
375
+ config!.noDebug = !!(options && options.noDebug);
376
const unresolvedConfig = deepClone(config);
377
- if (options && options.noDebug) {
378
- config!.noDebug = true;
379
- }
380
-
381
if (!type) {
382
const guess = await this.configurationManager.guessDebugger();
383
if (guess) {
0 commit comments