Debug-Only Output for Server Actions

Intro

When developing your app, it’s often helpful to see what happens behind the scenes in your Server Actions.
By enabling the Debug mode, Wappler will display the output for all steps in your Server Actions, providing detailed step-by-step information to help you troubleshoot and understand the data flow during development.

[!note]
This feature is available only for Node.js and PHP and Wappler Local Server or Docker.

Enabling Debug Output

To view the output of all steps in your Server Actions while developing:
In the bottom toolbar, click the ** Bug icon to toggle Debug mode on:

Notice that only the Repeat step currently has its output enabled:

While on a Development target, preview the Server Action in the browser:

You will now see the output of all steps in the Server Action — such as the Query, Repeat, and Set Value steps:

The same debug output also appears in the Web Server tab at the bottom panel of Wappler:

4 Likes