提交 f90c518b 编写于 作者: I isidor

debug: remove enableBreakpointsFor since php-debug now moved to new api

上级 e008e41d
...@@ -54,11 +54,6 @@ export class AdapterManager implements IAdapterManager { ...@@ -54,11 +54,6 @@ export class AdapterManager implements IAdapterManager {
if (!rawAdapter.type || (typeof rawAdapter.type !== 'string')) { if (!rawAdapter.type || (typeof rawAdapter.type !== 'string')) {
added.collector.error(nls.localize('debugNoType', "Debugger 'type' can not be omitted and must be of type 'string'.")); added.collector.error(nls.localize('debugNoType', "Debugger 'type' can not be omitted and must be of type 'string'."));
} }
if (rawAdapter.enableBreakpointsFor && rawAdapter.enableBreakpointsFor.languageIds) { // Support deprecated field since the php-debug extension depends on it
rawAdapter.enableBreakpointsFor.languageIds.forEach(modeId => {
this.breakpointModeIdsSet.add(modeId);
});
}
if (rawAdapter.type !== '*') { if (rawAdapter.type !== '*') {
const existing = this.getDebugger(rawAdapter.type); const existing = this.getDebugger(rawAdapter.type);
......
...@@ -636,7 +636,6 @@ export interface IDebuggerContribution extends IPlatformSpecificAdapterContribut ...@@ -636,7 +636,6 @@ export interface IDebuggerContribution extends IPlatformSpecificAdapterContribut
// supported languages // supported languages
languages?: string[]; languages?: string[];
enableBreakpointsFor?: { languageIds?: string[] };
// debug configuration support // debug configuration support
configurationAttributes?: any; configurationAttributes?: any;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册