VSCode 终端"The connection to the terminal's pty host process is unresponsive, the terminals may stop



每当试图通过powershell/cmd/gitbash运行我的代码或做任何事情时,输入文本通常需要几秒钟以上的时间来显示是否根本不让我的程序运行,并继续显示对话框The connection to the terminal's pty host process is unresponsive, the terminals may stop working.有什么问题吗?这种情况发生在我尝试的任何语言上(Go,PY(

我也遇到过类似的问题。我在MacO上使用zsh。问题是我认为我损坏了Users/{userName}目录中的.zprofile文件。在我的案例中,有一行导致了问题:

export DYLD_PRINT_LIBRARIES="/opt/homebrew/Cellar/libbdplus/0.2.0/lib"

删除该行并重新启动整个VS代码后,它就可以工作了。

相关内容

最新更新