Add handler only if it is debug mode
Rename debug env variable to OPENCLOSET_DEBUG