We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7133e9 commit 4aac9e2Copy full SHA for 4aac9e2
1 file changed
src/debugger.rs
@@ -110,7 +110,7 @@ pub(crate) fn get_dap_binary(
110
let configuration = serde_json::to_string(&merged)
111
.map_err(|err| format!("Failed to serialize debug configuration: {err}"))?;
112
113
- let cwd = project_root_from_config(&merged).or(Some(worktree.root_path()));
+ let cwd = project_root_from_config(&merged).or_else(|| Some(worktree.root_path()));
114
let envs = worktree.shell_env();
115
116
if let Some(debug_server) = merged.get("debugServer").and_then(|v| v.as_u64()) {
0 commit comments