Make debug page not rely on database connection