Add debug to schema