code: def crash(crashfile, rerun, debug, ipydebug, dir):
      """Display Nipype crash files.
  
      For certain crash files, one can rerun a failed node in a temp directory.
  
      Examples:\n
      nipypecli crash crashfile.pklz\n
      nipypecli crash crashfile.pklz -r -i\n
      """
      from .crash_files import display_crash_file
  
      debug = "ipython" if ipydebug else debug
      if debug == "ipython":
          import sys
          from IPython.core import ultratb
  
          sys.excepthook = ultratb.FormattedTB(
              mode="Verbose", color_scheme="Linux", call_pdb=1
          )
      display_crash_file(crashfile, rerun, debug, dir)
  
file_path: nipype/nipype/scripts/cli.py
imports: import click
  from .instance import list_interfaces
  from .utils import CONTEXT_SETTINGS, UNKNOWN_OPTIONS, ExistingDirPath, ExistingFilePath, UnexistingFilePath, RegularExpression, PythonModule, check_not_none
  from ..None import __version__
label_desc: Use image node_id 3 for calling a global function with example usage: crash(crashfile, rerun, debug, ipydebug, dir) without return types