Use ipdb to debug exceptions