first attempt at conditionals for DO_DEBUG_BUILD