phoityne / haskell-debug-adapter

Debug Adapter for Haskell debugging system.
https://hackage.haskell.org/package/haskell-debug-adapter
BSD 3-Clause "New" or "Revised" License
53 stars 8 forks source link

Haskell Debug Adapter

A debug adapter for Haskell debugging system.

101_deploy.png

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

Requirement

Install these libraries at once.

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

You can also build and run this project with nix:

> nix build .#haskell-debug-adapter

or

> nix run .#haskell-debug-adapter

Development

This project can be built with stack, cabal and nix.

To run all tests and checks with nix:

> nix flake check -L

To enter a development shell with nix:

> nix develop

Note

The stack.yaml and cabal.project assume that haskell-dap and ghci-dap are checked out in the same directory as this project. If they are not, haskell-language-server will fail to start.

Limitation

Currently this project is an experimental design and implementation.