mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-30 20:25:40 +01:00
follow up fix for #124770
This commit is contained in:
@@ -15,7 +15,7 @@ const DEBUG_FUNCTION_BREAKPOINTS_KEY = 'debug.functionbreakpoint';
|
||||
const DEBUG_DATA_BREAKPOINTS_KEY = 'debug.databreakpoint';
|
||||
const DEBUG_EXCEPTION_BREAKPOINTS_KEY = 'debug.exceptionbreakpoint';
|
||||
const DEBUG_WATCH_EXPRESSIONS_KEY = 'debug.watchexpressions';
|
||||
const DEBUG_CHOSEN_ENVIRONMENTS_KEY = 'debug.chosenenvironments';
|
||||
const DEBUG_CHOSEN_ENVIRONMENTS_KEY = 'debug.chosenenvironment';
|
||||
const DEBUG_UX_STATE_KEY = 'debug.uxstate';
|
||||
|
||||
export class DebugStorage {
|
||||
@@ -89,7 +89,7 @@ export class DebugStorage {
|
||||
}
|
||||
|
||||
loadChosenEnvironments(): { [key: string]: string } {
|
||||
return JSON.parse(this.storageService.get(DEBUG_CHOSEN_ENVIRONMENTS_KEY, StorageScope.WORKSPACE, '[]'));
|
||||
return JSON.parse(this.storageService.get(DEBUG_CHOSEN_ENVIRONMENTS_KEY, StorageScope.WORKSPACE, '{}'));
|
||||
}
|
||||
|
||||
storeChosenEnvironments(environments: { [key: string]: string }): void {
|
||||
|
||||
Reference in New Issue
Block a user