-
-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Description
Debug adapter definition and debug configuration
local dap = require('dap')
dap.adapters.ruby = {
type = 'server';
host = '127.0.0.1';
port = 38698;
}
dap.configurations.ruby = {
{
type = 'ruby';
name = 'debug current file';
request = 'attach';
port = 38698;
server = '127.0.0.1';
},
}
Debug adapter version
1.4.0
Steps to Reproduce
- Start a debug-adapter with
rdbg --open --port 38698 target.rbin a terminal - Attach to the adapter with
:lua require'dap'.continue() - Continue or step over till the very end of the program. The adapter in the terminal disconnects.
- Inspect the state by
:lua require'dap'.repl.open(). The session is still open.
Expected Result
The session is closed after the last step. Analogous to the behaviour of this adapter in VSCode. Otherwise, it has to be done manually before the next debug session.
Actual Result
The session remains active after the last step.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels