don't assume db connection in debug