python2: Implement 'debug' and 'strip' options