From 4ca3ac6077a46c043218cad26d4e9b869d615d10 Mon Sep 17 00:00:00 2001 From: Anthony Kim Date: Thu, 19 Sep 2024 11:34:12 -0700 Subject: [PATCH] add traceVerbose --- src/client/common/terminal/service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/common/terminal/service.ts b/src/client/common/terminal/service.ts index 19cdf0aea0a1..09d75a42fa00 100644 --- a/src/client/common/terminal/service.ts +++ b/src/client/common/terminal/service.ts @@ -22,6 +22,7 @@ import { TerminalShellType, ITerminalExecutedCommand, } from './types'; +import { traceVerbose } from '../../logging'; @injectable() export class TerminalService implements ITerminalService, Disposable { @@ -111,9 +112,11 @@ export class TerminalService implements ITerminalService, Disposable { if (listener) { this.executeCommandListeners.add(listener); } + traceVerbose(`Shell Integration is enabled, executeCommand: ${commandLine}`); }); } else { terminal.sendText(commandLine); + traceVerbose(`Shell Integration is disabled, sendText: ${commandLine}`); } return undefined;