Closed filip-lovich-kubra closed 1 year ago
This is not really language server related, but Emacs configuration related. Kotlin Debug Adapter is also its own program. Have you set lsp-kotlin-debug-adapter-path
to the path to the debug adapter executable? No automatic downloading is done for the debug adapter in lsp-mode (or dap-mode) to my knowledge, so you will have download it yourself and point the variable to the executable path. (not the directory of the executable, but the executable itself).
(yes, I know. The debug adapter variables should probably have been dap-mode variables instead. The only reason for keeping it in lsp-mode was because they were already present early on. Probably due to the person making the initial config using the VSCode properties verbatim.... 😒 )
Really appreciate your help and that somebody maintains this project, I would just maybe suggest making it a bit clearer in the readme that the variable needs to be set in order for the Run lens to work?
Maybe just altering: "See Kotlin Debug Adapter for debugging support on JVM" to "See Kotlin Debug Adapter for running and debugging support on JVM"
Thanks again!
I really don't have much here sorry. Everything works but when I try to use the "Run" or "Debug" lens, nothing happens, just the below message. I checked all buffers (kotlion-ls, lsp-log) but can't find any other error message.