# haskell-dap
The goal is "let GHCi speak [DAP](https://code.visualstudio.com/docs/extensions/example-debuggers)".

## Information
* [2018/10/21] Release haskel-dap-0.0.9.0.
* [MODIFY] logpoint output change to console.
* [FIX][[1](https://github.com/phoityne/hdx4vsc/issues/1)]debugger does not work with vscode-1.28
## Limitation
Currently this project is an experimental design and implementation.
* supporting ghc-8.0, ghc-8.2, ghc-8.4
* need stack project.
* checked on windows7, centos7
## Features
### inspect watch

### inspect hoover

### inspect repl

### logpoint

### break condition

### break hit count

## Install
install vscode and [phoityne](https://marketplace.visualstudio.com/items?itemName=phoityne.phoityne-vscode) extension.
### Run stack install
% stack install haskell-dap
. . . . .
Copied executables to C:\Users\[USERNAME]\AppData\Roaming\local\bin:
- haskell-dap.exe
%
## Configuration
Add `--with-ghc` option to `ghciCmd` variable in the vscode launch.json.
"ghciCmd": "stack ghci --with-ghc=haskell-dap --test --no-load --no-build --main-is TARGET --ghci-options -fghci-hist-size=5 --ghci-options -fprint-evld-with-show ",
## IFData Design

## Sequences
### Overview.

### Debugging details.
