提交 57f33e1c 编写于 作者: I Isidor Nikolic 提交者: GitHub

Merge pull request #20985 from michelkaporin/debug-view-listener

Select box debug configuration listener
......@@ -66,6 +66,10 @@ export class StartDebugActionItem extends EventEmitter implements IActionItem {
this.debugService.getViewModel().setSelectedConfigurationName(configurationName);
}
}));
this.toDispose.push(this.debugService.getViewModel().onDidSelectConfiguration(configurationName => {
const manager = this.debugService.getConfigurationManager();
this.selectBox.select(manager.getConfigurationNames().indexOf(configurationName));
}));
}
public render(container: HTMLElement): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册