allow '--debug' in the destructors