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:
@@ -156,10 +156,10 @@ impl Render for InertState {
|
||||
request: DebugRequestType::Launch(LaunchConfig {
|
||||
program,
|
||||
cwd: Some(cwd),
|
||||
args: Default::default(),
|
||||
}),
|
||||
tcp_connection: Some(TCPHost::default()),
|
||||
initialize_args: None,
|
||||
args: Default::default(),
|
||||
locator: None,
|
||||
stop_on_entry: None,
|
||||
},
|
||||
@@ -322,7 +322,6 @@ impl InertState {
|
||||
adapter: kind,
|
||||
request: DebugRequestType::Attach(task::AttachConfig { process_id: None }),
|
||||
initialize_args: None,
|
||||
args: Default::default(),
|
||||
locator: None,
|
||||
tcp_connection: Some(TCPHost::default()),
|
||||
stop_on_entry: None,
|
||||
|
||||
@@ -91,7 +91,6 @@ async fn test_show_attach_modal_and_select_process(
|
||||
tcp_connection: Some(TCPHost::default()),
|
||||
locator: None,
|
||||
stop_on_entry: None,
|
||||
args: Default::default(),
|
||||
},
|
||||
vec![
|
||||
Candidate {
|
||||
|
||||
Reference in New Issue
Block a user