【问题标题】:VSCode Terminal "The connection to the terminal's pty host process is unresponsive, the terminals may stop working."VSCode 终端“与终端的 pty 主机进程的连接没有响应,终端可能会停止工作。”
【发布时间】:2023-02-10 04:44:50
【问题描述】:

每当尝试运行我的代码或通过 powershell/cmd/gitbash 做任何事情时,输入文本通常需要几秒钟以上才能显示,即使根本不让我的程序运行,并继续显示对话框 The connection to the terminal's pty host process is unresponsive, the terminals may stop working. Any使固定?这发生在我尝试的任何语言上(Go,PY)

【问题讨论】:

  • 同样的问题,我找不到解决方案

标签: visual-studio-code vscode-debugger


【解决方案1】:

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

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-02-19
    • 1970-01-01
    • 2012-04-05
    • 1970-01-01
    • 1970-01-01
    • 2020-09-28
    • 2021-06-17
    • 1970-01-01
    相关资源
    最近更新 更多