Revert "debug: stop supporting enableBreakpointsFor"
This reverts commit 9f2ce53867
.
This commit is contained in:
parent
6c5916cafe
commit
d444826441
|
@ -54,6 +54,11 @@ 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) { // Support deprecated field since the php-debug extension depends on it
|
||||
rawAdapter.enableBreakpointsFor.languageIds.forEach(modeId => {
|
||||
this.breakpointModeIdsSet.add(modeId);
|
||||
});
|
||||
}
|
||||
|
||||
if (rawAdapter.type !== '*') {
|
||||
const existing = this.getDebugger(rawAdapter.type);
|
||||
|
|
|
@ -630,6 +630,7 @@ export interface IDebuggerContribution extends IPlatformSpecificAdapterContribut
|
|||
|
||||
// supported languages
|
||||
languages?: string[];
|
||||
enableBreakpointsFor?: { languageIds: string[] };
|
||||
|
||||
// debug configuration support
|
||||
configurationAttributes?: any;
|
||||
|
|
Loading…
Reference in a new issue