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.
docstr: Overrides on-session-init callback.
  
  Args:
    request: An instance of `OnSessionInitRequest`.
  
  Returns:
    An instance of `OnSessionInitResponse`.
docstr_tok: ["Overrides","on-session-init","callback",".","Args",":","request",":","An","instance","of","`","OnSessionInitRequest","`",".","Returns",":","An","instance","of","`","OnSessionInitResponse","`","."]
code: def on_session_init(self, request):
      """Overrides on-session-init callback.
  
      Args:
        request: An instance of `OnSessionInitRequest`.
  
      Returns:
        An instance of `OnSessionInitResponse`.
      """
  
      return framework.OnSessionInitResponse(
          framework.OnSessionInitAction.PROCEED
      )
  
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 5 for calling the LocalCLIDebugWrapperSession obj's underlying member method code with example usage: obj.on_session_init(request) and returns: framework