ManuelHentschel / vscDebugger

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

Attach using background socket #141

Closed ManuelHentschel closed 3 years ago

ManuelHentschel commented 4 years ago

Adds the functionality to attach to a socket running in the background. This mode lets the user control the R session normally from the terminal. The debugger can attach in the background and show the current workspace and evaluate commands in the debug console, but is limited to the global workspace.

This debug mode is still under development but should be working for now.

To test, install this modified version of svSocket, launch an R session and call .vsc.startWebsocket(). The debugger can then attach to that session with the example launch config Attach to R Process