I’m exploring what it would take to enable the VS Code debugging UI for julia, and I’ve got some high level design questions about both the current status of the debugger and future plans.
Are there any plans for a wire protocol for the debugger, so that one could control a given julia process that is running under the debugger from a second process? I’m thinking roughly something like this with a protocol like this.
Related to that question is one about threads. Ideally such a setup would have a separate thread running the process that is being debugged that receives and responds the debug wire protocol messages. This thread ideally could for example set a new breakpoint while the main thread that is running the user code is busy. This of course would require that Gallium is thread-safe, but I assume that is not the case right now, correct?