diff --git a/packages/metals-vscode/src/debugger/scalaDebugger.ts b/packages/metals-vscode/src/debugger/scalaDebugger.ts index a8d33767..92e3fcfa 100644 --- a/packages/metals-vscode/src/debugger/scalaDebugger.ts +++ b/packages/metals-vscode/src/debugger/scalaDebugger.ts @@ -79,7 +79,7 @@ async function runMain(main: ExtendedScalaRunMain): Promise { const shellOptions = { ...platformSpecificOptions(), env }; const task = new Task( - { type: "scala", task: "run" }, + { type: "scala", task: "run", class: main.data.class }, workspaceFolder, "Scala run", "Metals",