To be fair to C++, the only languages with actually decently debuggable metaprograms are Lisp and Prolog.
Modern C++ in general is so hostile to debugging I think it's astounding people actually use it.