

def connection_error(message):
    '\n    Template for showing error message on connection error/loss.\n\n    Keyword arguments:\n    message -- Exception/reason of connection error/loss.\n    '
    sublime.error_message(('Please restart Xdebug debugging session.\nDisconnected from Xdebug debugger engine.\n' + async_session))
    info('Connection lost with debugger engine.')
    debug(message)
    try:
        S.SESSION.clear()
    except:
        pass
    finally:
        S.SESSION = None
        S.SESSION_BUSY = False
        S.BREAKPOINT_EXCEPTION = None
        S.BREAKPOINT_ROW = None
        S.BREAKPOINT_RUN = None
        S.CONTEXT_DATA.clear()
        async_session = SocketHandler(ACTION_WATCH)
        async_session.start()
    sublime.active_window().run_command('xdebug_layout')
    render_regions()

dataset/ETHPy150Open martomo/SublimeTextXdebug/xdebug/session.py connection_error/VarMisuse@19/99 `message`->`async_session`