未验证 提交 043674a2 编写于 作者: I isidor

debug: do not show debug quick access picks when there are no debuggers

上级 c0dbdb54
......@@ -35,6 +35,10 @@ export class StartDebugQuickAccessProvider extends PickerQuickAccessProvider<IPi
protected async _getPicks(filter: string): Promise<(IQuickPickSeparator | IPickerQuickAccessItem)[]> {
const picks: Array<IPickerQuickAccessItem | IQuickPickSeparator> = [];
if (!this.debugService.getAdapterManager().hasDebuggers()) {
return [];
}
picks.push({ type: 'separator', label: 'launch.json' });
const configManager = this.debugService.getConfigurationManager();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册