From 3521089985951f684d33235dd0a5f99bbb3140f9 Mon Sep 17 00:00:00 2001 From: roife Date: Thu, 28 Mar 2024 14:25:26 +0800 Subject: [PATCH] fix: use lldb when debugging with C++ extension --- editors/code/src/debug.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts index cd7e7c35e99..bad1f48de85 100644 --- a/editors/code/src/debug.ts +++ b/editors/code/src/debug.ts @@ -203,6 +203,10 @@ function getCCppDebugConfig( cwd: cargoWorkspace || runnable.args.workspaceRoot, sourceFileMap, env, + // See https://github.com/rust-lang/rust-analyzer/issues/16901#issuecomment-2024486941 + osx: { + MIMode: "lldb", + }, }; }