Skip to content

Commit e527be7

Browse files
committed
add log for executeCommand
1 parent b40f53f commit e527be7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client/common/terminal/service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
TerminalShellType,
2121
} from './types';
2222
import { traceVerbose } from '../../logging';
23+
import { trace } from 'console';
2324

2425
@injectable()
2526
export class TerminalService implements ITerminalService, Disposable {
@@ -102,6 +103,7 @@ export class TerminalService implements ITerminalService, Disposable {
102103
// TODO: executeCommand would not execute command manually typed inside Python Terminal REPL.
103104
// We only run executeCommand when user shift+enter in .py file, and hence run command in terminal on user's behalf.
104105
const execution = terminal.shellIntegration.executeCommand(commandLine);
106+
traceVerbose(`Shell Integration is enabled, executeCommand: ${commandLine}`);
105107
return execution;
106108
} else {
107109
terminal.sendText(commandLine);

0 commit comments

Comments
 (0)