def METHOD_NAME():
    """Set local internal options"""
    if sys.platform == 'win32':
        change_internal_options('windows.debug', '2')
    else:
        change_internal_options('agent.debug', '2')
    yield
    if sys.platform == 'win32':
        change_internal_options('windows.debug', '0')
    else:
        change_internal_options('agent.debug', '0')
    set_state_interval(5, internal_options)