def set_package_value(key, value=None):
    try:
        config = sublime.load_settings(S.FILE_PACKAGE_SETTINGS)
        if value is not None:
            config.set(key, value)
        elif config and config.has(key):
            return config.erase(key)
    except:
        pass
Set value in package configuration settings.
dataset/ETHPy150Open martomo/SublimeTextXdebug/xdebug/config.py/set_package_value