提交 9f2ce538 编写于 作者: I isidor

debug: stop supporting enableBreakpointsFor

上级 081632d2
...@@ -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.forEach(modeId => {
this.breakpointModeIdsSet.add(modeId);
});
}
if (rawAdapter.type !== '*') { if (rawAdapter.type !== '*') {
const existing = this.getDebugger(rawAdapter.type); const existing = this.getDebugger(rawAdapter.type);
......
...@@ -627,7 +627,6 @@ export interface IDebuggerContribution extends IPlatformSpecificAdapterContribut ...@@ -627,7 +627,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;
......
...@@ -22,7 +22,6 @@ suite('Debug - Debugger', () => { ...@@ -22,7 +22,6 @@ suite('Debug - Debugger', () => {
const debuggerContribution = { const debuggerContribution = {
type: 'mock', type: 'mock',
label: 'Mock Debug', label: 'Mock Debug',
enableBreakpointsFor: { 'languageIds': ['markdown'] },
program: './out/mock/mockDebug.js', program: './out/mock/mockDebug.js',
args: ['arg1', 'arg2'], args: ['arg1', 'arg2'],
configurationAttributes: { configurationAttributes: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册