Both of these things are true:
1. Developers can be far more productive when they can run everything locally. 2. Until you’ve deployed into and tested against production, you don’t know if your shit actually works.
In fact, they’re complementary: developers should have excellent local dev facilities and excellent facilities for running experiments in production.