It's fine for dev and production to be compiled differently, but the whole point of staging is that there should be <i>no</i> artifact differences from production, only a bit of configuration.
Long, long ago I chased one bug into the compiler--sent it off to Microsoft and months later heard back with a can't-reproduce.<p>And in time I find out that my bug was real, but fixed before they looked at what I sent.
One of my favourite blog posts (and blogs in general), so glad to see it (re-)posted. Really interesting takeaways to keep in mind when you run into inexplicable bugs or memory dumps.
Long ago comments, <a href="https://news.ycombinator.com/item?id=4939144">https://news.ycombinator.com/item?id=4939144</a>