Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full debugger support #1906

Open
jneira opened this issue Jun 9, 2021 · 1 comment
Open

Full debugger support #1906

jneira opened this issue Jun 9, 2021 · 1 comment
Labels
type: enhancement New feature or request

Comments

@jneira
Copy link
Member

jneira commented Jun 9, 2021

  • That was a feature request in hie that we did not translate here but i think it worths it: a ghc debugger with a nice gui could be a killer feature. In the hie issue there is a interesanting discussion on how could be implemented
  • repl support could be related as mentione in REPL Support #477
@jneira jneira added the type: enhancement New feature or request label Jun 9, 2021
@jneira
Copy link
Member Author

jneira commented Jul 12, 2021

From the hie issue:

The Phoityne debugger uses this at the back https://hackage.haskell.org/package/haskell-dap which implements the vscode debug protocal, as I understand it.

Using a standard protocol makes sense to me, but it is not as widely implemented as LSP. See https://code.visualstudio.com/docs/extensionAPI/api-debugging

The standard is now DAP, I would say, supported in both emacs and vscode.

And as I said earlier, phoityne already supports it, maybe we should consider an integration with it.

Fundamentally this is about having a GHCI session at the same time, which has been considered quite a bit. See e.g https://gitlab.haskell.org/ghc/ghc/issues/15461

The ghci-dap has a nice component diagram: https://github.com/phoityne/ghci-dap#ghci-dap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants