pub struct DebugScenario {
pub label: String,
pub adapter: String,
pub build: Option<BuildTaskDefinition>,
pub config: String,
pub tcp_connection: Option<TcpArgumentsTemplate>,
}Expand description
Debug Scenario is the user-facing configuration type (used in debug.json). It is still concerned with what to debug and not necessarily how to do it (except for any debug-adapter-specific configuration options).
Fields§
§label: StringUnsubstituted label for the task.DebugAdapterBinary
adapter: StringName of the Debug Adapter this configuration is intended for.
build: Option<BuildTaskDefinition>An optional build step to be ran prior to starting a debug session. Build steps are used by Zed’s locators to locate the executable to debug.
config: StringJSON-encoded configuration for a given debug adapter.
tcp_connection: Option<TcpArgumentsTemplate>TCP connection parameters (if they were specified by user)
Trait Implementations§
Source§impl Clone for DebugScenario
impl Clone for DebugScenario
Source§fn clone(&self) -> DebugScenario
fn clone(&self) -> DebugScenario
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DebugScenario
impl RefUnwindSafe for DebugScenario
impl Send for DebugScenario
impl Sync for DebugScenario
impl Unpin for DebugScenario
impl UnwindSafe for DebugScenario
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more