Problems I face:
1. Can't trace user journey: User reports a bug. I look through logs with a timestamp of the user report, but can't trace the user journey, especially with lots of asynchronous operations going on in parallel
2. Insufficient logging: I can identify the error being thrown but can't identify the cause. Would want to see logs of surrounding code which we maybe didn't log
To solve this, I've resorted to adding logging around the suspected problem path, pushing to production and asking the user to try again (very annoying for them)
Any best practices I'm missing or is this really the best way to be debugging issues in prod?
If you get this working, you can follow along steps to reproduce and hit debug breakpoints etc.