提交 25e555ee 编写于 作者: I isidor

debug: suggestions inside os specific settings

#1873
上级 190983f1
......@@ -4,6 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import nls = require('vs/nls');
import objects = require('vs/base/common/objects');
import paths = require('vs/base/common/paths');
import platform = require('vs/base/common/platform');
import debug = require('vs/workbench/parts/debug/common/debug');
......@@ -114,22 +115,26 @@ export class Adapter {
default: 'openOnFirstSessionStart',
description: nls.localize('internalConsoleOptions', "Controls behavior of the internal debug console.")
};
this.warnRelativePaths(properties.outDir);
this.warnRelativePaths(properties.program);
this.warnRelativePaths(properties.cwd);
this.warnRelativePaths(properties.runtimeExecutable);
const osProperties = objects.deepClone(properties);
properties.windows = {
type: 'object',
description: nls.localize('debugWindowsConfiguration', "Windows specific launch configuration attributes.")
description: nls.localize('debugWindowsConfiguration', "Windows specific launch configuration attributes."),
properties: osProperties
};
properties.osx = {
type: 'object',
description: nls.localize('debugOSXConfiguration', "OS X specific launch configuration attributes.")
description: nls.localize('debugOSXConfiguration', "OS X specific launch configuration attributes."),
properties: osProperties
};
properties.linux = {
type: 'object',
description: nls.localize('debugLinuxConfiguration', "Linux specific launch configuration attributes.")
description: nls.localize('debugLinuxConfiguration', "Linux specific launch configuration attributes."),
properties: osProperties
};
this.warnRelativePaths(properties.outDir);
this.warnRelativePaths(properties.program);
this.warnRelativePaths(properties.cwd);
this.warnRelativePaths(properties.runtimeExecutable);
return attributes;
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册