added debug all option