Improved debug output.