Add pdb globbing function