dragos-vscode-scala icon indicating copy to clipboard operation
dragos-vscode-scala copied to clipboard

How can I configure VS code to debug scala?

Open Charmatzis opened this issue 8 years ago • 6 comments

Could you please provide a task for VS code so I can debug a scala app?

Charmatzis avatar Apr 23 '17 12:04 Charmatzis

I'm not sure what you're suggesting. Is it a Scala debugger for VS Code?

dragos avatar Apr 24 '17 09:04 dragos

Hi @Charmatzis , Maybe if you're suggesting a debugging feature like the one LLDB/LLVM or NodeJS has in VS Code, I request you to go through these:

  1. INTRO: https://code.visualstudio.com/docs/editor/debugging
  2. DEBUG DESIGN: https://code.visualstudio.com/docs/extensions/example-debuggers
  3. DEBUG PROTOCOL: https://code.visualstudio.com/docs/extensionAPI/api-debugging

0zAND1z avatar May 21 '17 13:05 0zAND1z

I guess he's talking about this, but for Scala: https://github.com/Microsoft/vscode-java-debug. I'm not familiar with VS, can anyone tell if it is trivial to fork this and adapt to work with Scala?

gabfssilva avatar Oct 03 '17 18:10 gabfssilva

@gabfssilva you may experiment this by supporting the sbt within from the extension (native comms between sbt and the extension host?) and then activate the sbt plugins required to debug the active file?

0zAND1z avatar Oct 27 '17 11:10 0zAND1z

any news?

egoarka avatar Dec 12 '18 03:12 egoarka

Not as far as I'm concerned, I don't know about the others in this thread. There seems to be a lot of interest, perhaps people can pool resources and get it started?

dragos avatar Dec 12 '18 08:12 dragos