提交 b950554a 编写于 作者: I isidor

debug config manager: first init launches then register listeners

上级 81865ae7
......@@ -73,8 +73,8 @@ export class ConfigurationManager implements IConfigurationManager {
this.adapterDescriptorFactories = [];
this.debuggers = [];
this.toDispose = [];
this.registerListeners(lifecycleService);
this.initLaunches();
this.registerListeners(lifecycleService);
const previousSelectedRoot = this.storageService.get(DEBUG_SELECTED_ROOT, StorageScope.WORKSPACE);
const previousSelectedLaunch = this.launches.filter(l => l.uri.toString() === previousSelectedRoot).pop();
this.debugConfigurationTypeContext = CONTEXT_DEBUG_CONFIGURATION_TYPE.bindTo(contextKeyService);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册