Skip to content

Commit fd9146f

Browse files
committed
debug: remove support for top level debugServer
1 parent 3e3d433 commit fd9146f

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ export interface IDebugConfiguration {
284284

285285
export interface IGlobalConfig {
286286
version: string;
287-
debugServer?: number;
288287
configurations: IConfig[];
289288
}
290289

src/vs/workbench/parts/debug/node/debugConfigurationManager.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,7 @@ const schema: IJSONSchema = {
158158
'type': 'object',
159159
oneOf: []
160160
}
161-
},
162-
// TODO@Isidor remove support for this in December
163-
debugServer: {
164-
type: 'number',
165-
description: nls.localize('app.launch.json.debugServer', "DEPRECATED: please move debugServer inside a configuration.")
166-
},
161+
}
167162
}
168163
};
169164

@@ -264,9 +259,6 @@ export class ConfigurationManager implements debug.IConfigurationManager {
264259

265260
result = filtered.length === 1 ? filtered[0] : config.configurations[0];
266261
result = objects.deepClone(result);
267-
if (config && result && config.debugServer) {
268-
result.debugServer = config.debugServer;
269-
}
270262
}
271263

272264
if (result) {

0 commit comments

Comments
 (0)