()
If a remote debugger is attached, pauses execution of all threads,
    and breaks into the debugger with current thread as active.
If a remote debugger is attached, pauses execution of all threads,
    and breaks into the debugger with current thread as active.
If a remote debugger is attached pauses execution of all threads and breaks into the debugger with current thread as active .
def break_into_debugger():
    """If a remote debugger is attached, pauses execution of all threads,
    and breaks into the debugger with current thread as active.
    """
    if not is_attached():
        return

    import sys
    _pydevd_settrace(
        suspend=True,
        trace_only_current_thread=True,
        patch_multiprocessing=False,
        stop_at_frame=sys._getframe().f_back,
    )
def break_into_debugger ( ) : if not is_attached ( ) : return import sys _pydevd_settrace ( suspend = True , trace_only_current_thread = True , patch_multiprocessing = False , stop_at_frame = sys . _getframe ( ) . f_back , )