add debug printing of basic headers