debugger: Add an action to copy debuggee info and initialization args (#32647)
Release Notes: - Debugger Beta: added the `dev: copy debug adapter arguments` action to help troubleshoot debug configurations.
This commit is contained in:
parent
1078f929aa
commit
f227c2ff0c
7 changed files with 52 additions and 20 deletions
|
@ -993,7 +993,7 @@ impl RunningState {
|
|||
let cwd = Some(&request.cwd)
|
||||
.filter(|cwd| cwd.len() > 0)
|
||||
.map(PathBuf::from)
|
||||
.or_else(|| session.binary().cwd.clone());
|
||||
.or_else(|| session.binary().unwrap().cwd.clone());
|
||||
|
||||
let mut args = request.args.clone();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue