Improved debug message