Describe the bug
When running vscode-js-debug as a standalone DAP adapter (outside of vscode), the adapter remains alive after successfully handling a disconnect request.
According to the Debug Adapter Protocol specification:
The disconnect request asks the debug adapter to disconnect from the debuggee (thus ending the debug session) and then to shut down itself (the debug adapter).
I'm not sure whether this is an intentional choice or a bug.
To Reproduce
Steps to reproduce the behavior:
- Start
vscode-js-debug: node dapDebugServer.js PORT.
- Establish a debug session.
- Send
disconnect request.
- Wait for the successful response.
- The connection is closed but the adapter remains alive.
Additional context
I use my own DAP client.
The same disconnect workflow causes the adapter to exit when using the Java Debug Adapter and debugpy-adapter for Python, which is why I expected the same behavior from vscode-js-debug.
Could you clarify whether this behavior is intentional when running the adapter in standalone ?
Describe the bug
When running
vscode-js-debugas a standalone DAP adapter (outside of vscode), the adapter remains alive after successfully handling adisconnectrequest.According to the Debug Adapter Protocol specification:
The disconnect request asks the debug adapter to disconnect from the debuggee (thus ending the debug session) and then to shut down itself (the debug adapter).I'm not sure whether this is an intentional choice or a bug.
To Reproduce
Steps to reproduce the behavior:
vscode-js-debug:node dapDebugServer.js PORT.disconnectrequest.Additional context
I use my own DAP client.
The same
disconnectworkflow causes the adapter to exit when using theJava Debug Adapteranddebugpy-adapterfor Python, which is why I expected the same behavior fromvscode-js-debug.Could you clarify whether this behavior is intentional when running the adapter in standalone ?