debug to application layout