提交 63b07c14 编写于 作者: A Andre Weinand

make IConfig.name mandatory

上级 b9fc2c1c
......@@ -436,7 +436,7 @@ export interface IConfig extends IEnvConfig {
// fundamental attributes
type: string;
request: string;
name?: string;
name: string;
// platform specifics
windows?: IEnvConfig;
......
......@@ -139,8 +139,8 @@ export class MockSession implements IDebugSession {
appendToRepl(data: string | IExpression, severity: Severity, source?: IReplElementSource): void { }
logToRepl(sev: Severity, args: any[], frame?: { uri: uri; line: number; column: number; }) { }
configuration: IConfig = { type: 'mock', request: 'launch' };
unresolvedConfiguration: IConfig = { type: 'mock', request: 'launch' };
configuration: IConfig = { type: 'mock', name: 'mock', request: 'launch' };
unresolvedConfiguration: IConfig = { type: 'mock', name: 'mock', request: 'launch' };
state = State.Stopped;
root: IWorkspaceFolder;
capabilities: DebugProtocol.Capabilities = {};
......
......@@ -544,6 +544,7 @@ export class DebugExtensionHostAction extends Action {
return this._debugService.startDebugging(null, {
type: 'node',
name: nls.localize('debugExtensionHost.launch.name', "Attach Extension Host"),
request: 'attach',
port: inspectPort
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册