change handler levels when setting debug