我一直试图在VSCode中安装Haskell调试器,到目前为止,我已经安装了phoityne-vscode和Haskell-dap,但是当我尝试运行调试器时,出现了一个错误,指出:
ghci launch error. <file descriptor: 5>: hPutChar: resource vanished (Broken Pipe)
VSCode上的完整终端读数也显示为:
CMD: stack ghci --test --no-load --no-build --main-is TARGET --ghci-options -fprint-evld-with-show --with-ghc=haskell-dap
Note: No local targets specified, so a plain ghci will be started with no package hiding or package
options.
You are using snapshot: lts-15.11
If you want to use package hiding and options, then you can try one of the following:
* If you want to start a different project configuration
than C:\sr\global-project\stack.yaml, then you can use stack init to create a new stack.yaml
for the packages in the current directory.
* If you want to use the project configuration
at C:\sr\global-project\stack.yaml, then you can add to its 'packages' field.
Configuring GHCi with the following packages:
Haskell-dap is deprecated.
我假设“ Haskell-dap已过时”。消息是导致此问题的原因,因为在Windows控制台中运行“ Haskell-dap --version”会给我同样的消息,但是我一直无法在线找到任何建议的修复程序。任何建议,将不胜感激。