Add debugging support, #ifdef DEBUG_BUILD.