Hello everyone, this is a discussion to know what you do when there are bugs that only appear on production and can't be reproduced in other environments either by the lack of data, or by the configuration that simply doesn't allow it to be caught outside production.
If it's about configuration the solution is to have a staging environment that's identical to production, except maybe the amount of data and reproduce the bug there.
If it's about read only data you could, in theory, create a read only replica of your production database, wait for it to be on par and then point staging to it and see if you can reproduce it.
The worst possible scenario is to debug production live but that's tricky and depends on the bug...