We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3e62f commit 58e4a65Copy full SHA for 58e4a65
bin/package-manager-completion.ts
@@ -32,10 +32,23 @@ function runCompletionCommand(
32
33
// In a PowerShell host, go through powershell.exe so .ps1 shims work.
34
if (isPowerShellEnv) {
35
+ if (process.env.TAB_DEBUG) {
36
+ console.error('[DEBUG] runCompletionCommand via powershell:', {
37
+ command,
38
+ args,
39
+ });
40
+ }
41
return runCompletionViaPowerShell(command, args);
42
}
43
44
const targetCommand = preferCmdShim(command);
45
46
+ console.error('[DEBUG] runCompletionCommand via cmd path:', {
47
48
+ targetCommand,
49
50
51
52
const result = spawnSync(targetCommand, args, completionSpawnOptions);
53
54
return (result.stdout ?? '').trim();
0 commit comments