9

Is it possible to set default org configuration to:

  • Enable "Debug Mode" is Lightning Components settings under setup

  • Disable "Enable secure and persistent browser caching to improve performance" in Session Settings under setup

Both of these are causing us to miss and introduce quite a bit of bugs :(

  • Updated my answer. There's a new org preference for Caching at least – Christian Szandor Knapp Feb 10 '18 at 10:39
7

As of February 2018 you can use S1EncryptedStoragePref2 as disabled OrgPreference to disable secure and persistent caching.

Update November 2018: Debug Mode can be achieved by updating the Boolean UserPreferencesUserDebugModePref on sObject User.

  • Excellent, seems to be working! Although pref name seems weird :D – dzh Feb 11 '18 at 13:01
  • added info about user debug mode – Christian Szandor Knapp Nov 13 '18 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.