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
|
@ -134,6 +134,7 @@ impl ResolvedTask {
|
|||
DebugRequestType::Launch(LaunchConfig {
|
||||
program: resolved.command.clone(),
|
||||
cwd: resolved.cwd.clone(),
|
||||
args,
|
||||
})
|
||||
}
|
||||
crate::task_template::DebugArgsRequest::Attach(attach_config) => {
|
||||
|
@ -142,7 +143,6 @@ impl ResolvedTask {
|
|||
}),
|
||||
initialize_args: debug_args.initialize_args,
|
||||
tcp_connection: debug_args.tcp_connection,
|
||||
args,
|
||||
locator: debug_args.locator.clone(),
|
||||
stop_on_entry: debug_args.stop_on_entry,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue