提交 fd9146fe 编写于 作者: I isidor

debug: remove support for top level debugServer

上级 3e3d433b
...@@ -284,7 +284,6 @@ export interface IDebugConfiguration { ...@@ -284,7 +284,6 @@ export interface IDebugConfiguration {
export interface IGlobalConfig { export interface IGlobalConfig {
version: string; version: string;
debugServer?: number;
configurations: IConfig[]; configurations: IConfig[];
} }
......
...@@ -158,12 +158,7 @@ const schema: IJSONSchema = { ...@@ -158,12 +158,7 @@ const schema: IJSONSchema = {
'type': 'object', 'type': 'object',
oneOf: [] oneOf: []
} }
}, }
// TODO@Isidor remove support for this in December
debugServer: {
type: 'number',
description: nls.localize('app.launch.json.debugServer', "DEPRECATED: please move debugServer inside a configuration.")
},
} }
}; };
...@@ -264,9 +259,6 @@ export class ConfigurationManager implements debug.IConfigurationManager { ...@@ -264,9 +259,6 @@ export class ConfigurationManager implements debug.IConfigurationManager {
result = filtered.length === 1 ? filtered[0] : config.configurations[0]; result = filtered.length === 1 ? filtered[0] : config.configurations[0];
result = objects.deepClone(result); result = objects.deepClone(result);
if (config && result && config.debugServer) {
result.debugServer = config.debugServer;
}
} }
if (result) { if (result) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册