There's a "Debug" checkbox in the script editor that you can check to enable debug log commands. I think that may output to the message log. I haven't used it yet since I've just relied on StatusText.