Improved debug.