Skip to content

Commit 20c1a10

Browse files
author
Kartik Raj
authored
Log when running Python file (#22851)
For #22711
1 parent 8aaa70e commit 20c1a10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/terminals/codeExecution/codeExecutionManager.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { IDisposableRegistry, IConfigurationService, Resource } from '../../comm
1414
import { noop } from '../../common/utils/misc';
1515
import { IInterpreterService } from '../../interpreter/contracts';
1616
import { IServiceContainer } from '../../ioc/types';
17-
import { traceError } from '../../logging';
17+
import { traceError, traceVerbose } from '../../logging';
1818
import { captureTelemetry, sendTelemetryEvent } from '../../telemetry';
1919
import { EventName } from '../../telemetry/constants';
2020
import { ICodeExecutionHelper, ICodeExecutionManager, ICodeExecutionService } from '../../terminals/types';
@@ -44,6 +44,7 @@ export class CodeExecutionManager implements ICodeExecutionManager {
4444
(cmd) => {
4545
this.disposableRegistry.push(
4646
this.commandManager.registerCommand(cmd as any, async (file: Resource) => {
47+
traceVerbose(`Attempting to run Python file`, file?.fsPath);
4748
const interpreterService = this.serviceContainer.get<IInterpreterService>(IInterpreterService);
4849
const interpreter = await interpreterService.getActiveInterpreter(file);
4950
if (!interpreter) {

0 commit comments

Comments
 (0)