Originally posted as a Categorized Question.
In reply to How can I tell at run time that my script is writing to STDERR? by Dave05