In the Scratch Org Definition Configuration Values documentation I don't see a way to default these settings that we want to make all the time to do Lightning Component development:
- Setup -> Lightning Components -> Enable Debug Mode (want enabled)
- Setup -> Session Settings -> Enable secure and persistent browser caching to improve performance (want disabled so Lightning Components are not cached so changes appear immediately)
So:
- Is there a way to automatically default them via project-scratch-def.json?
- Is the scratch org always a clone of some other org that can have stuff manually pre-configured in it?