Mass debug for database layer.