Closed agarciadom closed 6 months ago
Just made two minor tweaks to avoid having files that do not end on a newline.
This is so exciting! Thank you!
No problem! BTW, I've documented how to use it here:
https://eclipse.dev/epsilon/doc/articles/debugger/#microsoft-visual-studio-code
This commit adds the minimal code needed to have VS Code attach to a running Epsilon debug adapter over TCP (available from Epsilon 2.6.0). The approach is to have the Ant tasks start the server and wait for VS Code to attach to them before starting the Epsilon script to be debugged.
This only requires using a DebugAdapterDescriptorFactory that looks at the "port" in the launch.json entry being executed, and passes that on to the standard DebugAdapterServer class. All the debugging complexity will be hidden behind the DAP server.