add debug attribute to schema