debugging in db