Skip to content

Commit 9f2ce53

Browse files
committed
debug: stop supporting enableBreakpointsFor
1 parent 081632d commit 9f2ce53

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ export class AdapterManager implements IAdapterManager {
5454
if (!rawAdapter.type || (typeof rawAdapter.type !== 'string')) {
5555
added.collector.error(nls.localize('debugNoType', "Debugger 'type' can not be omitted and must be of type 'string'."));
5656
}
57-
if (rawAdapter.enableBreakpointsFor) {
58-
rawAdapter.enableBreakpointsFor.languageIds.forEach(modeId => {
59-
this.breakpointModeIdsSet.add(modeId);
60-
});
61-
}
6257

6358
if (rawAdapter.type !== '*') {
6459
const existing = this.getDebugger(rawAdapter.type);

src/vs/workbench/contrib/debug/common/debug.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,6 @@ export interface IDebuggerContribution extends IPlatformSpecificAdapterContribut
627627

628628
// supported languages
629629
languages?: string[];
630-
enableBreakpointsFor?: { languageIds: string[] };
631630

632631
// debug configuration support
633632
configurationAttributes?: any;

src/vs/workbench/contrib/debug/test/node/debugger.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ suite('Debug - Debugger', () => {
2222
const debuggerContribution = {
2323
type: 'mock',
2424
label: 'Mock Debug',
25-
enableBreakpointsFor: { 'languageIds': ['markdown'] },
2625
program: './out/mock/mockDebug.js',
2726
args: ['arg1', 'arg2'],
2827
configurationAttributes: {

0 commit comments

Comments
 (0)