Better debug output for better diagnostics.