(Glide64) Add optional debug logging to stdout