Add debug primitive for printing structures