gpt4 book ai didi

powershell - VSCode Powershell 集成终端启动时挂起

转载 作者:行者123 更新时间:2023-12-02 01:13:10 27 4
gpt4 key购买 nike

我在 Windows 10 x64 版本 16193 中使用 VSCode 版本 1.12.2。我试图在 VSCode 中调试 Powershell,但我无法让 PowerShell 集成终端工作。每次我启动终端时,我都会看到以下内容:
VSCode Powershell terminal
然后它卡在那个阶段。我仍然可以调试、启动、进入、退出……,但我无法查看我的变量或运行任何表达式。
我的 VSCode 在这里使用的是 powershell x64:

"terminal.integrated.shell.windows": "C:\\WINDOWS\\Sysnative\\WindowsPowerShell\\v1.0\\powershell.exe"

最佳答案

所以这是这个版本的 Windows 10 的一个已知问题。解决方法在这里:https://github.com/PowerShell/vscode-powershell/issues/742

关于powershell - VSCode Powershell 集成终端启动时挂起,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44012931/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com