debugger: Fix new session modal not having worktree scenarios (#29453)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
67615b968b
commit
d46890978a
3 changed files with 11 additions and 1 deletions
|
@ -59,6 +59,7 @@ pub struct LaunchRequest {
|
|||
/// The program that you trying to debug
|
||||
pub program: String,
|
||||
/// The current working directory of your project
|
||||
#[serde(default)]
|
||||
pub cwd: Option<PathBuf>,
|
||||
/// Arguments to pass to a debuggee
|
||||
#[serde(default)]
|
||||
|
@ -155,6 +156,7 @@ pub struct DebugScenario {
|
|||
/// Name of the debug task
|
||||
pub label: SharedString,
|
||||
/// A task to run prior to spawning the debuggee.
|
||||
#[serde(default)]
|
||||
pub build: Option<SharedString>,
|
||||
#[serde(flatten)]
|
||||
pub request: Option<DebugRequest>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue