phoityne / hdx4vsc

Haskell Debugger Extension for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=phoityne.phoityne-vscode
BSD 3-Clause "New" or "Revised" License
50 stars 9 forks source link

debugger terminated with VtyMissingTermEnvVar #34

Open dongmingli-Ben opened 12 months ago

dongmingli-Ben commented 12 months ago

I have reported this issue in the phoityne-vscode repo before I noticed that the repo is deprecated. For the sake of completeness, I report this issue here again.

I am trying to run the debugger on a haskell project that relies on the brick library. However, the debugger is terminated at this particular line: initialVty <- buildVty in UI.hs with the following message in the debug console:

H>>= :dap-continue ...
[DAP][WARN]ghci says,
VtyMissingTermEnvVar
H>>= 
debugging completed. 
:quit
Leaving GHCi.

My ghci-dap version is 0.0.21.0 for ghc-9.4.8 and my haskell-debug-adapter version is 0.0.39.0.