[Improvement]: Add Support for Restart Requests in the Ballerina Debug Server #43679
Labels
Area/Debugger
Issues related to the ballerina debugging tools
Team/DevTools
Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )
Type/Improvement
Description
Currently, the Ballerina debug server does not support handling restart requests as per the Debug Adapter Protocol (DAP). When users initiate a restart request during a debugging session in VS Code, the following behavior is observed:
This approach leads to increased startup time, negatively affecting the user experience during iterative debugging workflows.
Therefore this improvement aims to support restart requests from the Ballerina debug server side, which will reduce startup time during debug session restarts for enhanced efficiency and user experience for developers using the Ballerina debug server with VS Code.
Describe your solution(s)
Challenges:
The current design of the Ballerina debug server supports only a single session per instance. Implementing restart request support will require significant changes to the existing implementation.
Related area
-> Debugger
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: