Normalize debug messages.