allow to turn on/off DEBUG mode by environment var