allow to switch DEBUG mode using env variables