Skip to main content

Chapter 4: Workflow Debugging

Previous chapters covered how to develop and configure workflows. This chapter will guide you on performing complete workflow debugging before deployment.

Step 1: Enable Workflow Debugging

Click the [Workflow Debugging] button in the upper-right corner of the editor to enter workflow debugging mode.

Similar to [Chapter 1 - Step 3: Debug Trigger], click the "Start Debugging" button to enter request listening mode. Node configuration cannot be modified at this time.

Step 2: Trigger Workflow

When calling the [Basic Payment] or [Apply for Refund] interface, set the [notify_url] parameter to the [debug URL]. After receiving WeChat Pay or refund notifications, the workflow will be triggered and the workflow debugging results will be displayed.

Step 3: View Node Output

Click each node to view its output logs.

Next

Next, we will learn how to publish and officially use workflows. Please proceed to Section 5: Publishing Workflows