debugger: Add an action to copy debuggee info and initialization args (#32647)

Release Notes:

- Debugger Beta: added the `dev: copy debug adapter arguments` action to
help troubleshoot debug configurations.
This commit is contained in:
Cole Miller 2025-06-12 21:38:25 -04:00 committed by GitHub
parent 1078f929aa
commit f227c2ff0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 52 additions and 20 deletions

View file

@ -93,7 +93,7 @@ impl<'a> From<&'a str> for DebugAdapterName {
}
}
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Serialize)]
pub struct TcpArguments {
pub host: Ipv4Addr,
pub port: u16,
@ -179,7 +179,7 @@ impl DebugTaskDefinition {
}
/// Created from a [DebugTaskDefinition], this struct describes how to spawn the debugger to create a previously-configured debug session.
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Serialize)]
pub struct DebugAdapterBinary {
pub command: Option<String>,
pub arguments: Vec<String>,