From c1c2da7e505c0e995eea6c6b577b3fba6a58bf88 Mon Sep 17 00:00:00 2001 From: Cai Xuye Date: Wed, 18 Dec 2019 19:29:41 +0800 Subject: [PATCH] fix #6767: avoid using server title for integrated terminal Signed-off-by: Cai Xuye --- packages/debug/src/browser/debug-session.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/debug/src/browser/debug-session.tsx b/packages/debug/src/browser/debug-session.tsx index e83fe5f55579b..435f70b73a7f5 100644 --- a/packages/debug/src/browser/debug-session.tsx +++ b/packages/debug/src/browser/debug-session.tsx @@ -368,7 +368,7 @@ export class DebugSession implements CompositeTreeElement { } protected async runInTerminal({ arguments: { title, cwd, args, env } }: DebugProtocol.RunInTerminalRequest): Promise { - const terminal = await this.doCreateTerminal({ title, cwd, env }); + const terminal = await this.doCreateTerminal({ title, cwd, env, useServerTitle: false }); terminal.sendText(args.join(' ') + '\n'); return { processId: await terminal.processId }; }