def METHOD_NAME(config: Config) -> None:
    """
    Test if the set_debug_mode() method updates the debug_mode attribute.
    """
    # Store debug mode to reset it after the test
    debug_mode = config.debug_mode
    config.debug_mode = True
    assert config.debug_mode == True
    # Reset debug mode
    config.debug_mode = debug_mode