ManuelHentschel / vscDebugger

(Partial) Implementation of the Debug Adapter Protocol for R
https://manuelhentschel.github.io/vscDebugger/
MIT License
90 stars 14 forks source link

Tcl #176

Closed ManuelHentschel closed 2 years ago

ManuelHentschel commented 2 years ago
  1. Use DAP for all communication (this used to be raw json before), to make it easier to use the package e.g. for https://github.com/ManuelHentschel/VSCode-R-Debugger/issues/156
  2. Implement a background socket using TCL. This replaces .vsc.startWebsocket, which depended on a modified fork of the package svSocket, with .vsc.startTclServer. This socket can be used to handle DAP requests in the background, but only in the global environment. It's possible to attach with the vscode-R-debugger and in principle should also be possible using other clients.