class_docstr: Concrete subclass of BaseDebugWrapperSession implementing a local CLI.
  
  This class has all the methods that a `session.Session` object has, in order
  to support debugging with minimal code changes. Invoking its `run()` method
  will launch the command-line interface (CLI) of tfdbg.
class_docstr_tok: ["Concrete","subclass","of","BaseDebugWrapperSession","implementing","a","local","CLI",".","This","class","has","all","the","methods","that","a","`","session.Session","`","object","has",",","in","order","to","support","debugging","with","minimal","code","changes",".","Invoking","its","`","run","(",")","`","method","will","launch","the","command-line","interface","(","CLI",")","of","tfdbg","."]
code: def _exit_if_requested_by_user(self):
      if (
          self._run_start_response
          == debugger_cli_common.EXPLICIT_USER_EXIT
      ):
          # Explicit user "exit" command leads to sys.exit(1).
          print(
              "Note: user exited from debugger CLI: Calling sys.exit(1).",
              file=sys.stderr,
          )
          sys.exit(1)
  
imports: import argparse
  import os
  import sys
  import tempfile
  from tensorflow.python.debug.cli import analyzer_cli
  from tensorflow.python.debug.cli import cli_config
  from tensorflow.python.debug.cli import cli_shared
  from tensorflow.python.debug.cli import command_parser
  from tensorflow.python.debug.cli import debugger_cli_common
  from tensorflow.python.debug.cli import profile_analyzer_cli
  from tensorflow.python.debug.cli import ui_factory
  from tensorflow.python.debug.lib import common
  from tensorflow.python.debug.lib import debug_data
  from tensorflow.python.debug.wrappers import framework
  from tensorflow.python.lib.io import file_io
label_desc: Use image node_id 7 for calling the LocalCLIDebugWrapperSession obj's underlying member method code with example usage: obj._exit_if_requested_by_user() without return types