Improved debug app