-
Notifications
You must be signed in to change notification settings - Fork 48
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
Haskell debugger implementation discussion #30
Comments
I too had this internal conflict when writing the installers of some debuggers, because similar to how the debugger for However, keep in mind that in the examples I gave above where DAPInstall uses dependencies such as Also note that there are two types of dependencies: for installing and for the debugger. DAPInstall can handle the dependencies for the debugger (which is the case for the C debugger), but these ones like |
Actually this is a very good idea. I'll add this (not the |
In haskell the package is installed locally but it has the following issues:
|
What do you mean by local folder? Local folder for what exactly?
Perhaps we could ask them in the installer? Remember that the installer is nothing more than a shell script, so this is obviously possible. And in the case of the configuration, we could use a helper function to fetch the according binary of the debugger according to the project at the CWD. |
What do you think? |
Haskell is a very strange language, and there is not an easy way to install the
haskell-debug-adapter
. There are not any binaries likehls
has, so the only solution to install it is havingstack
orcabal-install
and do the following:stack install haskell-dap ghci-dap haskell-debug-adapter
and add the configuration to the dap.
The problem is that the end-user has to have a Haskell environment in place to run the above command and that the debugger will not end up in the path we have for other debuggers.
I m thinking of one of the following implementations:
stack install haskell-dap ghci-dap haskell-debug-adapter
ignoring the fact that the debugger will be on another location and considering that the user has already a properly haskell setup + add the configurations like the above implementation.What are your thoughts on that?
The text was updated successfully, but these errors were encountered: