code: def pdb_option(args, run):
      """Automatically enter post-mortem debugging with pdb on failure."""
      run.pdb = True
  
imports: from typing import Callable
  import inspect
  import re
  from sacred.run import Run
  from sacred.commands import print_config
  from sacred.utils import convert_camel_case_to_snake_case
label_desc: Use image node_id 5 for calling a global function with example usage: pdb_option(args, run) without return types