Skip to content

Commit 3521089

Browse files
committed
fix: use lldb when debugging with C++ extension
1 parent 4bf521d commit 3521089

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

editors/code/src/debug.ts

+4
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ function getCCppDebugConfig(
203203
cwd: cargoWorkspace || runnable.args.workspaceRoot,
204204
sourceFileMap,
205205
env,
206+
// See https://github.com/rust-lang/rust-analyzer/issues/16901#issuecomment-2024486941
207+
osx: {
208+
MIMode: "lldb",
209+
},
206210
};
207211
}
208212

0 commit comments

Comments
 (0)