The Haskell Debugger is ready to use with GHC-9.14!
The installation, configuration, and talks can be found in the official website. The tl;dr first step is installing the debugger:
$ ghc --version # MUST BE GHC 9.14
The Glorious Glasgow Haskell Compilation System, version 9.14.1
$ cabal install haskell-debugger --allow-newer=base,time,containers,ghc,ghc-bignum,template-haskell --enable-executable-dynamic # ON WINDOWS, DO NOT PASS --enable-executable-dynamic
...
$ ~/.local/bin/hdb --version # VERIFY IT'S THE LATEST!
Haskell Debugger, version 0.11.0.0The second step is configuring your editor to use the debugger via the Debug Adapter Protocol (DAP).
- For VSCode, install the haskell debugger extension.
- For Neovim, install
nvim-dapand configure it for haskell-debugger - For other editors, consult your DAP documentation and let others know how!
Bug reports and discussions are welcome in the haskell-debugger issue tracker.
My MuniHac 2025 talk also walks through the installation, usage, and design of the debugger. Do note much has been improved since the talk was given, and much more will still improve.