Debug: make sure to open json settings when openning global configurations

fixes #92264
This commit is contained in:
isidor
2020-03-10 10:53:53 +01:00
parent c2e6327356
commit 42e26ac5bb
@@ -697,7 +697,7 @@ class UserLaunch extends AbstractLaunch implements ILaunch {
}
async openConfigFile(_: boolean, preserveFocus: boolean): Promise<{ editor: IEditorPane | null, created: boolean }> {
const editor = await this.preferencesService.openGlobalSettings(false, { preserveFocus });
const editor = await this.preferencesService.openGlobalSettings(true, { preserveFocus });
return ({
editor: withUndefinedAsNull(editor),
created: false