conditionally set DEBUG