One thing I find handy is to format my debug printing for my vector and matrix types in Octave syntax. It makes it easier to debug my C++ code when I can copy/paste values directly into Octave for further analysis. e.g.
vec3f x = {1,2,3};
fmt::print("x = {}\n", x);
// output:
// x = [1; 2; 3]