aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/debug.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index 966019883..1f93a2b7e 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -88,8 +88,9 @@ export async function getDebugConfiguration(ctx: Ctx, config: ra.Runnable): Prom
88 } 88 }
89 89
90 if (debugConfig.name === "run binary") { 90 if (debugConfig.name === "run binary") {
91 // A workaround for multiple binaries. It would be better to get proper names on the LSP side. 91 // The LSP side: crates\rust-analyzer\src\main_loop\handlers.rs,
92 debugConfig.name = `run binary [${path.basename(executable)}]`; 92 // fn to_lsp_runnable(...) with RunnableKind::Bin
93 debugConfig.name = `run binary '${path.basename(executable)}'`;
93 } 94 }
94 95
95 if (debugConfig.cwd) { 96 if (debugConfig.cwd) {