about summary refs log tree commit diff
path: root/editors/code/src/debug.ts
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-01-24 13:43:56 +0100
committerLukas Wirth <lukastw97@gmail.com>2023-01-24 13:46:56 +0100
commitec9476015ce966fc4238408baef7a7ad1b3db5d8 (patch)
tree80b5a547c6a1791dadbf1abcb60be788a13ee685 /editors/code/src/debug.ts
parente46c242a38396c5dd1cb85b5002ca17f83c4c1b7 (diff)
downloadrust-ec9476015ce966fc4238408baef7a7ad1b3db5d8.tar.gz
rust-ec9476015ce966fc4238408baef7a7ad1b3db5d8.zip
Substitute VSCode variables more generally
Diffstat (limited to 'editors/code/src/debug.ts')
-rw-r--r--editors/code/src/debug.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index bd45599227e..268b70b4fbb 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -84,7 +84,7 @@ async function getDebugConfiguration(
             debugEngine = vscode.extensions.getExtension(engineId);
             if (debugEngine) break;
         }
-    } else {
+    } else if (debugOptions.engine) {
         debugEngine = vscode.extensions.getExtension(debugOptions.engine);
     }