<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def xpm(Pdb=Pdb):
 """ To be used inside an except clause, enter a post-mortem pdb related to the just catched exception. """

    info = sys.exc_info()
    print(traceback.format_exc())
    post_mortem(info[2], Pdb)