about summary refs log tree commit diff
path: root/editors/code/src/commands/runnables.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/commands/runnables.ts')
-rw-r--r--editors/code/src/commands/runnables.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts
index befb8b3663f..2238a5a7337 100644
--- a/editors/code/src/commands/runnables.ts
+++ b/editors/code/src/commands/runnables.ts
@@ -102,7 +102,7 @@ export function debugSingle(ctx: Ctx): Cmd {
 
         let debugEngineId = ctx.config.debug.engine;
         let debugEngine = null;
-        if (!debugEngineId) {
+        if ( debugEngineId === "auto" ) {
             debugEngine = vscode.extensions.getExtension(lldbId);
             if (!debugEngine) {
                 debugEngine = vscode.extensions.getExtension(cpptoolsId);