You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current dlv-dap server is a single-use server. On disconnect, it not only stops the client connection, but also terminates itself.
DAP/Vscode devs have advised us that when using a debug adapter that is a server, we do not launch a new instance for every debug session/process, but instead have a long-running server. On disconnect, this server would shut down the debug session, close the client connection, and continue running. It can then accept a new client connection when a new session is triggered and would respond to launches/attach request to trace a new process every time.
Apparently this what the Java extension does. It is integrated with a long-running Java language server that also serves DAP and acts as a debug adapter. The server is started as soon as a Java project is opened and runs until VSCode is shut down. Each new DAP session results in a new connection to the server (code).
The text was updated successfully, but these errors were encountered:
The current dlv-dap server is a single-use server. On disconnect, it not only stops the client connection, but also terminates itself.
DAP/Vscode devs have advised us that when using a debug adapter that is a server, we do not launch a new instance for every debug session/process, but instead have a long-running server. On disconnect, this server would shut down the debug session, close the client connection, and continue running. It can then accept a new client connection when a new session is triggered and would respond to launches/attach request to trace a new process every time.
Apparently this what the Java extension does. It is integrated with a long-running Java language server that also serves DAP and acts as a debug adapter. The server is started as soon as a Java project is opened and runs until VSCode is shut down. Each new DAP session results in a new connection to the server (code).
The text was updated successfully, but these errors were encountered: