Skip to content

Commit 61e8d0c

Browse files
committed
Add resolved cwd to lldb initialize options
1 parent 386031e commit 61e8d0c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/dap_adapters/src/lldb.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ impl DebugAdapter for LldbDebugAdapter {
8989
}
9090

9191
fn request_args(&self, config: &DebugAdapterConfig) -> Value {
92-
json!({"program": config.program})
92+
json!({
93+
"program": config.program,
94+
"cwd": config.cwd,
95+
})
9396
}
9497
}

0 commit comments

Comments
 (0)