Originally Posted by Rasikko
I got output working by turning on Debug.

Doh! I forgot that was a thing in the script editor. Thanks. Being able to get feedback from code is super helpful.