added a debug flag to use pdb with the convert cli