added example using pdb debugger to set trace