FIX: Debug status read from enviroment.