branch: externals/dape
commit 083a16739fe6f4ae5f55c136de9e7ec3ceec2a4d
Author: ksqsf <[email protected]>
Commit: GitHub <[email protected]>

    Add support for haskell-debugger (#296)
---
 dape.el | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/dape.el b/dape.el
index 01cf721867..fef0ce3d10 100644
--- a/dape.el
+++ b/dape.el
@@ -428,7 +428,21 @@
                                        "out"
                                        "phpDebug.js")))
      :type "php"
-     :port 9003))
+     :port 9003)
+    (hdb
+     modes (haskell-mode haskell-ts-mode haskell-literate-mode)
+     ensure dape-ensure-command
+     command "hdb"
+     command-cwd dape-command-cwd
+     command-args ("server" "-v0" "--port" :autoport)
+     host "localhost"
+     port :autoport
+     :type "haskell"
+     :request "launch"
+     :entryFile (buffer-file-name)
+     :projectRoot dape-command-cwd
+     :entryArgs []
+     :extraGhcArgs []))
   "This variable holds the dape configurations as an alist.
 In this alist, the car element serves as a symbol identifying each
 configuration.  Each configuration, in turn, is a property list (plist)

Reply via email to