emacs-lsp / lsp-metals

lsp-mode :heart: metals
https://emacs-lsp.github.io/lsp-metals
GNU General Public License v3.0
58 stars 33 forks source link

Starting a debug session with the ui #49

Closed Jeronimo-GL closed 3 years ago

Jeronimo-GL commented 3 years ago

When I try start a debug session using the ui menu instead of the lens I get the following error: Error running timer: (wrong-type-argument stringp nil)

I suspect that the problem is related with my template:

(dap-register-debug-template
  "Analyzer"
  (list :type "scala"
        :request "debug"
        :name "Analyzer"
        :projectName "Analyzer"
        :mainClass "analyzer.Main"
        :args "blah bl;ah"
        :vmArgs ""))

Is there anything wrong with the template? Where can I find a template that works? I can't find any.

yyoncho commented 3 years ago

Templates do not work, I will try to fix them. Also I will try to fix https://github.com/emacs-lsp/lsp-metals/issues/41

yyoncho commented 3 years ago

PR #51