Made DebugLevelChange Dynamic