updated to check for debug services before showing debug footer container div