Adding debug to the homepage