
答案1
我終於解決了(我猜是這樣)。在 settings.json 中我需要替換:
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
有了這個:
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe"
不知道為什麼 powershell 會導致這個問題(bug?)