Skip to content

Commit

Permalink
Merge branch 'release/v1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
devhawk committed Jun 18, 2024
2 parents a2fec0f + 4e0694f commit 3985214
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/startDebugging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ function getDebugLaunchConfig(folder: vscode.WorkspaceFolder, workflowID: string
const debugConfigs = vscode.workspace.getConfiguration("launch", folder).get('configurations') as ReadonlyArray<vscode.DebugConfiguration> | 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 };
}
Expand Down

0 comments on commit 3985214

Please sign in to comment.