diff --git a/src/startDebugging.ts b/src/startDebugging.ts index e7be498..a20ce54 100644 --- a/src/startDebugging.ts +++ b/src/startDebugging.ts @@ -60,7 +60,9 @@ function getDebugLaunchConfig(folder: vscode.WorkspaceFolder, workflowID: string const debugConfigs = vscode.workspace.getConfiguration("launch", folder).get('configurations') as ReadonlyArray | undefined; for (const config of debugConfigs ?? []) { const command = config["command"] as string | undefined; - if (command && command.includes("npx dbos debug")) { + if (command + && (command.includes("npx dbos debug") || command.includes("npx dbos-sdk debug")) + ) { const newCommand = command.replace("${command:dbos-ttdbg.pick-workflow-id}", `${workflowID}`); return { ...config, command: newCommand }; }