code: def post_mortem(t):
      p = pytestPDB._init_pdb("post_mortem")
      p.reset()
      p.interaction(None, t)
      if p.quitting:
          outcomes.exit("Quitting debugger")
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import argparse
  import pdb
  import sys
  from doctest import UnexpectedException
  from _pytest import outcomes
  from _pytest.config import hookimpl
  from _pytest.config.exceptions import UsageError
label_desc: Use image node_id 9 for calling a global function with example usage: post_mortem(t) without return types