debugger: Add args argument to debugger launch config (#27953)
This also fixes a bug where debug cargo test code actions would debug all tests in a mod instead of a specific test Release Notes: - N/A
This commit is contained in:
parent
500964a6fa
commit
108ae0b5b0
15 changed files with 42 additions and 17 deletions
|
@ -729,7 +729,12 @@ impl ContextProvider for RustContextProvider {
|
|||
..TaskTemplate::default()
|
||||
},
|
||||
TaskTemplate {
|
||||
label: "Debug".into(),
|
||||
label: format!(
|
||||
"Debug {} {} (package: {})",
|
||||
RUST_BIN_KIND_TASK_VARIABLE.template_value(),
|
||||
RUST_BIN_NAME_TASK_VARIABLE.template_value(),
|
||||
RUST_PACKAGE_TASK_VARIABLE.template_value(),
|
||||
),
|
||||
cwd: Some("$ZED_DIRNAME".to_owned()),
|
||||
command: "cargo".into(),
|
||||
task_type: TaskType::Debug(task::DebugArgs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue