wrap debugging statements in debug conditional