Debugger: Add stop on entry support to debug adapter configs (#27942)
This PR adds passing in `stop_on_entry` to debug configs in debug.json instead of going through initialization args. This has two benefits: 1. It's more streamlined to a user since every internal adapter supports `stop_on_entry` for launch requests and Go's adapter supports it for attach requests too. 2. It will allow @osiewicz `NewSesssionModal` PR to use this field for the stop on entry checkbox. Release Notes: - N/A
This commit is contained in:
parent
e1a8a31fa4
commit
0ba8432b0b
14 changed files with 25 additions and 2 deletions
|
@ -637,6 +637,7 @@ impl ContextProvider for RustContextProvider {
|
|||
locator: Some("cargo".into()),
|
||||
tcp_connection: None,
|
||||
initialize_args: None,
|
||||
stop_on_entry: None,
|
||||
}),
|
||||
command: "cargo".into(),
|
||||
args: vec![
|
||||
|
@ -737,6 +738,7 @@ impl ContextProvider for RustContextProvider {
|
|||
initialize_args: None,
|
||||
locator: Some("cargo".into()),
|
||||
tcp_connection: None,
|
||||
stop_on_entry: None,
|
||||
}),
|
||||
args: debug_task_args,
|
||||
tags: vec!["rust-main".to_owned()],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue