aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/commands/runnables.ts2
-rw-r--r--editors/code/src/config.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts
index befb8b366..2238a5a73 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 {
102 102
103 let debugEngineId = ctx.config.debug.engine; 103 let debugEngineId = ctx.config.debug.engine;
104 let debugEngine = null; 104 let debugEngine = null;
105 if (!debugEngineId) { 105 if ( debugEngineId === "auto" ) {
106 debugEngine = vscode.extensions.getExtension(lldbId); 106 debugEngine = vscode.extensions.getExtension(lldbId);
107 if (!debugEngine) { 107 if (!debugEngine) {
108 debugEngine = vscode.extensions.getExtension(cpptoolsId); 108 debugEngine = vscode.extensions.getExtension(cpptoolsId);
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index 7764a2179..110e54180 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -109,7 +109,7 @@ export class Config {
109 109
110 get debug() { 110 get debug() {
111 return { 111 return {
112 engine: this.get<null | string>("debug.engine"), 112 engine: this.get<string>("debug.engine"),
113 sourceFileMap: this.get<Record<string, string>>("debug.sourceFileMap"), 113 sourceFileMap: this.get<Record<string, string>>("debug.sourceFileMap"),
114 }; 114 };
115 } 115 }