-
Notifications
You must be signed in to change notification settings - Fork 346
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
Debugging the system (haskell tooling) environment #1258
Comments
Try to look at |
I see the commands that are executed in the repl itself, but not the command to start it. |
Indeed, there is no path in log. |
I brought this up because it's pretty hard at the moment to get the environment quite right (for any haskell development tool-stack). Disclaimer: There may be certain issues here that, as a user, I can safely ignore, but I've mentioned them all, because the documentation is unclear. Some users might use a combination of cabal projects and stack/cabal projects... Something to confuse the matter even more, for ghc-mod there's the question of whether to install it in your project sandboxes, or once on your PATH. There's a stack issue that hopes to reconcile the feature of enabling multiple ghc versions with tools like ghc-mod, that don't really require being built and installed for each project, but only for each compiler version. Ideally, these hurdles wouldn't amount to the cartesian product of the set of haskell users and the set of haskell emacs plugins. |
Yes, I confirm that the situation is horrible. We are working to untangle this mess on our end, ghc-mod is also progressing and then there is haskell-ide-engine. Hopefully we can get to a state where things aren't that confusing as they are now. Any help appreciated. I think the immediate low hanging fruit is to improve logging and error handling in all the cases so that there is at least user is informed if and why something does not work. The next step is to define concept of a 'project'. Any help appreciated. |
This should be enough to debug issues with |
I'm using stack-ghci as my haskell-processtype. Is there a way, as with ghc-debug in ghc.el, to see what paths haskell-mode is using for the haskell-process?
The text was updated successfully, but these errors were encountered: