setting stages as a needs for debug