Automatically use ipdb if available, fall back to pdb otherwise