Using the Workflow Debugger
Alfred's Workflows feature includes a debugging tool. When creating workflows that contain scripts, this additional information helps identify what's stopping the workflow from functioning correctly.
To use the Debugger, open Alfred's preferences to the correct workflow and click the bug in the top right of the workflow to display the debugger at the bottom of the screen.
You can also use the "copy" button to copy the output from the debugger to your clipboard.
Need to identify the output of a specific object? The Debug utility allows you to connect the object to the output of any other object to more precisely understand what each object is outputting.