debug mode should not have optimizations enabled