Revert "Remove conditional debug output"
This reverts commit fff60307ff06c657a67c81cfbfdb067cbd218880.