Tips for Debugging Dispatch Actions?

(Tagging "API Macros" here since I see PDM's Dispatch Add-in as the equivalent to a macro in SW)

 

I'm having some struggles with a Dispatch action that I wrote, and I don't know that I have too many tools to help diagnose it.  I might update this with details about my specific Dispatch action, but really what I'm curious about is if we have any tools to help us analyze specific actions run by Dispatch.

 

Obviously, I can have a test environment (we have a sandbox version of our vault in addition to our production vault for testing all of the changes we want to make to our production vault, as one does), and try running the Dispatch actions on a specific set of test files.  But I'm not sure what other tools I have to try to validate the way that our scripts are working, or to troubleshoot any issues.

 

It's not like with Tasks, where we have the Task List that allows us to view all of the tasks that have been run in the vault.  There isn't a list of the instances of executed actions (that I know of).  I think I can use "OK MessageBox" commands to display text strings to maybe help gather information from the script, but in a practical sense I can only do that in my sandbox environment (lest I saddle all of my users with message boxes to click through every time they release a file).

 

Is there anything I'm missing here?