Wrap debugging statements in #ifdef DEBUG ... #endif