Replace #ifndef PRODUCTION preprocessor macro for #ifdef DEBUG