currently my "workflow" for writing und testing new scripts is as follows: Customize toolbar, add a new button, write some code lines, mainly JScript, close all windows and press the new button to see if all runs well.
For complex scripts I write some output to the log. Nevertheless this workflow may take some time and even more if there is some logic involved.
So how are you writing and testing new scripts? I would be interested in hints and tips how others are programming in this area.