Added DEBUG mode detection