Improved debug

what is it used for?