passing webapp the debug flag (#50)