initialize Flask debug variable to the correct setting