debug front end