add debug information to pages

when in dev env, display debug information at the bottom of the pages