def METHOD_NAME(self, debug_options):
    if 'DEBUG_STDLIB' in debug_options:
        self.just_my_code = not debug_options.get('DEBUG_STDLIB')
    if 'REDIRECT_OUTPUT' in debug_options:
        self.redirect_output = debug_options.get('REDIRECT_OUTPUT')
    if 'SHOW_RETURN_VALUE' in debug_options:
        self.show_return_value = debug_options.get('SHOW_RETURN_VALUE')
    if 'BREAK_SYSTEMEXIT_ZERO' in debug_options:
        self.break_system_exit_zero = debug_options.get('BREAK_SYSTEMEXIT_ZERO')
    if 'DJANGO_DEBUG' in debug_options:
        self.django_debug = debug_options.get('DJANGO_DEBUG')
    if 'FLASK_DEBUG' in debug_options:
        self.flask_debug = debug_options.get('FLASK_DEBUG')
    if 'STOP_ON_ENTRY' in debug_options:
        self.stop_on_entry = debug_options.get('STOP_ON_ENTRY')
    if 'CLIENT_OS_TYPE' in debug_options:
        self.client_os = debug_options.get('CLIENT_OS_TYPE')
    # Note: _max_exception_stack_frames cannot be set by debug options.