提交 fbef8f91 编写于 作者: I isidor

Check for provideDebugConfigurations not the provider

fixes #33663
上级 bef497ff
......@@ -249,7 +249,8 @@ export class ConfigurationManager implements IConfigurationManager {
}
this._providers.set(handle, debugConfigurationProvider);
const adapter = this.getAdapter(debugConfigurationProvider.type);
if (adapter) {
// Check if the provider contributes provideDebugConfigurations method
if (adapter && debugConfigurationProvider.provideDebugConfigurations) {
adapter.hasConfigurationProvider = true;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册