loading...

Discussion on: What is your debugging approach?

Collapse
mohanarpit profile image
Arpit Mohan
  1. Grep through the logs for any obvious issues or errors. With decent logging, 50% RCA happens here.
  2. Try to replicate the scenario in local environments and see the bug in action.
  3. Keep adding printf statements after each line of execution. Occasionally use the debugger as well on local to triage the issue.
  4. Forget to remove printf statements when committing fix.
  5. Create hotfix commit to remove debug logs 😄
  6. Actually deploy fix to production.
Collapse
byrro profile image
Renato Byrro

👏 claps for honesty! 😄