It would be very convenient to have a debugf
function, where the output isn’t cached like errorf
or warnf
, but it would still be highlighted like their output. Debug output would be suppressed unless the -v
verbose flag is given. Output would be prefixed by template filename and line if possible.