Open bahmanm opened 1 year ago
There is this in attach template: https://github.com/scalameta/metals-vscode/blob/main/packages/metals-vscode/package.json#L944
And the crash happens here:
I don't know that that is in scala context, but maybe you know.
Thanks for promptly looking into it đ That's exactly where my search stopped too. After reading the code, to my mind, a buildTarget
identifies the SBT subproject/classpath you'd want to debug.
It looks like the only way to solve this is to clone metals repo, install a local version and try to debug-log the root cause but since this is quite involved I thought I'd ask the community in case I'm overlooking something đ
AFAICS it says in their docs/samples.
// name of the module that is being debugging
Hey đ I'm trying to debug a Scala/SBT application using a custom template as below:
However, it keeps failing with the following in
*Messages*
:And this is the relevant excerpt from
metals.log
:Am I missing anything obvious? I'd appreciate any hint/help here before going down a potential rabbit hole đ