It's ugly and confusing but debug.h undefs `ENABLE_DEBUG`, so I need to introduce another variable.