Add rdbg for Ruby (#30126)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2025-05-08 09:37:20 +01:00 committed by GitHub
parent 1ec466b728
commit d39c220f26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 121 additions and 7 deletions

View file

@ -10,7 +10,7 @@ use super::dap_command::{
TerminateThreadsCommand, ThreadsCommand, VariablesCommand,
};
use super::dap_store::DapStore;
use anyhow::{Context as _, Result, anyhow};
use anyhow::{Result, anyhow};
use collections::{HashMap, HashSet, IndexMap, IndexSet};
use dap::adapters::{DebugAdapterBinary, DebugAdapterName};
use dap::messages::Response;
@ -169,8 +169,7 @@ impl LocalMode {
.await?
} else {
DebugAdapterClient::start(session_id, binary.clone(), message_handler, cx.clone())
.await
.with_context(|| format!("Failed to start {:?}", &binary.command))?
.await?
},
);