haskell-debug-adapter: Haskell Debug Adapter.

[ bsd3, development ] [ Propose Tags ]

Please see README.md

[Skip to Readme]
Versions [faq],,
Change log Changelog.md
Dependencies aeson, async, base (>=4.7 && <5), bytestring, Cabal, clock, cmdargs, conduit, conduit-extra, containers, data-default, directory, filepath, fsnotify, haskell-dap (>=, haskell-debug-adapter, hslogger, lens, MissingH, mtl, parsec, process, resourcet, safe-exceptions, text [details]
License BSD-3-Clause
Copyright 2016-2019 phoityne_hs
Author phoityne_hs
Maintainer phoityne.hs@gmail.com
Category Development
Home page https://github.com/phoityne/haskell-debug-adapter/
Bug tracker https://github.com/phoityne/haskell-debug-adapter/issues
Uploaded by phoityne_hs at Sun May 5 10:16:38 UTC 2019
Distributions NixOS:
Executables haskell-debug-adapter
Downloads 168 total (27 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2019-05-05 [all 3 reports]


  • Haskell
    • Debug
      • Adapter
        • Haskell.Debug.Adapter.Control


Maintainer's Corner

For package maintainers and hackage trustees

Readme for haskell-debug-adapter-

[back to package description]

HDA : Haskell Debug Adapter

A debug adapter for Haskell debugging system.


Started developing based on phoityne-vscode-
Changed package name (because a name "phoityne-vscode" is ambiguous.), and with some refactoring.


  • haskell-dap
  • ghci-dap
> stack install haskell-dap ghci-dap haskell-debug-adapter


Currently this project is an experimental design and implementation.

  • Dev and checked on windows10 ghc-8.4
  • The source file extension must be ".hs"
  • Can not use STDIN handle while debugging.



|NAME|REQUIRED OR OPTIONAL|DEFAULT SETTING|DESCRIPTION| |:--|:--:|:--|:--| |startup|required|${workspaceRoot}/test/Spec.hs|debug startup file, will be loaded automatically.| |startupFunc|optional|"" (empty string)|debug startup function, will be run instead of main function.| |startupArgs|optional|"" (empty string)|arguments for startup function. set as string type.| |ghciCmd|required|stack ghci --with-ghc=ghci-dap --test --no-load --no-build --main-is TARGET --ghci-options -fprint-evld-with-show|launch ghci command, must be Prelude module loaded. For example, "ghci -i${workspaceRoot}/src", "cabal exec -- ghci -i${workspaceRoot}/src"| |ghciPrompt|required|H>>=|ghci command prompt string.| |ghciInitialPrompt|optional|"Prelude> "|initial pormpt of ghci. set it when using custom prompt. e.g. set in .ghci| |stopOnEntry|required|false|stop or not after debugger launched. |mainArgs|optional|"" (empty string)|main arguments.| |logFile|required|${workspaceRoot}/.vscode/phoityne.log|internal log file.| |logLevel|required|WARNING|internal log level.|