Enhance debug messages.