def _switch(session: 'DebugSession', connection_name: str):
    """ Switch to a different connection

    :param session: Current DebugSession
    :param connection_name: Name of the connection
    """
    session.current_connection_name = connection_name
