|
|
|
|
|
by dvlsg
2783 days ago
|
|
Or if an issue happens in your staging environment but not locally. That happened to me just yesterday, and a simple print statement gave me the information I needed to resolve the issue. I probably could have attached a remote debugger, and executed the relevant function a few times until my request got routed to the right process in the cluster, but that honestly would have taken me more time than just committing the print statement and letting CI take it away. |
|
But you're right, figuring out a dev / prod discrepancy in already-running code is a case where a debugger is not as useful.