Adding debugging to empty messages