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

debug: stop supporting enableBreakpointsFor

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