Skip to content

Commit 62897c6

Browse files
authored
Add logging for executeCommand (#24138)
Need logging to further investigate #24123 (comment) for windows.
1 parent cac5bb2 commit 62897c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/client/common/terminal/service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
TerminalShellType,
2323
ITerminalExecutedCommand,
2424
} from './types';
25+
import { traceVerbose } from '../../logging';
2526

2627
@injectable()
2728
export class TerminalService implements ITerminalService, Disposable {
@@ -111,9 +112,11 @@ export class TerminalService implements ITerminalService, Disposable {
111112
if (listener) {
112113
this.executeCommandListeners.add(listener);
113114
}
115+
traceVerbose(`Shell Integration is enabled, executeCommand: ${commandLine}`);
114116
});
115117
} else {
116118
terminal.sendText(commandLine);
119+
traceVerbose(`Shell Integration is disabled, sendText: ${commandLine}`);
117120
}
118121

119122
return undefined;

0 commit comments

Comments
 (0)