public void Save(UserSettings settings)
 {
     string json = JsonConvert.SerializeObject(settings);
     if (!store.CollectionExists("MonoRemoteDebugger"))
         store.CreateCollection("MonoRemoteDebugger");
     store.SetString("MonoRemoteDebugger", "Settings", json);
 }
        public UserSettings Load()
        {
            var result = new UserSettings();

            if (store.CollectionExists("MonoRemoteDebugger"))
            {
                try
                {
                    string content = store.GetString("MonoRemoteDebugger", "Settings");
                    result = JsonConvert.DeserializeObject<UserSettings>(content);
                    return result;
                }
                catch (Exception ex)
                {
                    logger.Error(ex);
                }
            }

            return result;
        }