tried to make sprintf'y versions of debug() so we can debug
without --enable-debug being broken