We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dd0fd9 commit ce764c7Copy full SHA for ce764c7
1 file changed
src/features/common/shellDetector.ts
@@ -3,6 +3,7 @@ import { Terminal } from 'vscode';
3
import { isWindows } from '../../managers/common/utils';
4
import { vscodeShell } from '../../common/vscodeEnv.apis';
5
import { getConfiguration } from '../../common/workspace.apis';
6
+import { traceLog } from '../../common/logging';
7
8
/*
9
When identifying the shell use the following algorithm:
@@ -150,6 +151,7 @@ function fromShellTypeApi(terminal: Terminal): string {
150
151
152
export function identifyTerminalShell(terminal: Terminal): string {
153
let shellType = fromShellTypeApi(terminal);
154
+ traceLog('IdentifyTerminalShell: Shell type from API:', shellType);
155
156
if (shellType === 'unknown') {
157
shellType = identifyShellFromVSC(terminal);
0 commit comments