Added detail to debug messages.