Describe the bug
dap-debug not working in small project, while lsp-lens functions well.
To Reproduce
A minimal Main to reproduce would be
package com.fabien.test
object Main {
val a = 0
def main(args: Array[String]) = {
println(s"a = ${a}")
val b = a + 10
println(s"b = ${b}")
}
}
Expected behavior
I am expecting the same behaviour with lsp-lens and dap-debug
Logs
The error message I see when running dap-debug is
helm-M-x-execute-command: ‘workspace/executeCommand’ with ‘debug-adapter-start’ failed.
(error "Could not find folder for build targets: BuildTargetIdentifier [
uri = \"file:///home/fabs/test?id=root\"
]")