aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/debug.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index b500fe029..966019883 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -87,6 +87,11 @@ export async function getDebugConfiguration(ctx: Ctx, config: ra.Runnable): Prom
87 } 87 }
88 } 88 }
89 89
90 if (debugConfig.name === "run binary") {
91 // A workaround for multiple binaries. It would be better to get proper names on the LSP side.
92 debugConfig.name = `run binary [${path.basename(executable)}]`;
93 }
94
90 if (debugConfig.cwd) { 95 if (debugConfig.cwd) {
91 debugConfig.cwd = simplifyPath(debugConfig.cwd); 96 debugConfig.cwd = simplifyPath(debugConfig.cwd);
92 } 97 }