Skip to content

Commit 80fad3e

Browse files
committed
better launch support in user settings
fixes microsoft#44656
1 parent c2128c1 commit 80fad3e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/vs/workbench/parts/debug/electron-browser/debug.contribution.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ import { Repl } from 'vs/workbench/parts/debug/electron-browser/repl';
5050
import { DebugQuickOpenHandler } from 'vs/workbench/parts/debug/browser/debugQuickOpen';
5151
import { DebugStatus } from 'vs/workbench/parts/debug/browser/debugStatus';
5252
import { LifecyclePhase } from 'vs/platform/lifecycle/common/lifecycle';
53+
import { launchSchemaId } from 'vs/workbench/services/configuration/common/configuration';
5354

5455
class OpenDebugViewletAction extends ToggleViewletAction {
5556
public static readonly ID = VIEWLET_ID;
@@ -206,7 +207,8 @@ configurationRegistry.registerConfiguration({
206207
'launch': {
207208
type: 'object',
208209
description: nls.localize({ comment: ['This is the description for a setting'], key: 'launch' }, "Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces"),
209-
default: {}
210+
default: { configurations: [], compounds: [] },
211+
$ref: launchSchemaId
210212
}
211213
}
212214
});

0 commit comments

Comments
 (0)