Unnamed repository; edit this file 'description' to name the repository.
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 58fe1df51f..f23e368093 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -180,7 +180,7 @@ async function getDebugExecutable(
env: Record<string, string>,
): Promise<string> {
const cargo = new Cargo(runnableArgs.workspaceRoot || ".", debugOutput, env);
- const executable = await cargo.executableFromArgs(runnableArgs.cargoArgs);
+ const executable = await cargo.executableFromArgs(runnableArgs);
// if we are here, there were no compilation errors.
return executable;