Read debug status from environment