Print debug messages to stdout.