As part of the latest Release 21.3, information was added about workflow diagnostic mode.
When enabled, the Diagnostic mode option in the Execution section of the workflow properties logs the whole execution plan if a query takes more than one minute.
Please note that this option can impact your workflow performance significantly and should be used sparingly.
for more details about this mode, please read here: Workflow Diagnostic Mode
Feel free to reach out in case you have any queries through the below comment section.
Sukrity Wadhwa