DEV Community


Discussion on: What is your debugging approach?

sarathsantoshdamaraju profile image
Krishna Damaraju
  1. First thought - "Oh shit" 🤭
  2. Check the git commit and understand the code changes went with that.
  3. Put on the headphones 🎧 with the debugging playlist
  4. Use debugger and console.log to debug
  5. Bang my head around it 😂
  6. Realise the issue was small 🤦‍♂️
  7. Look at my self in the mirror 😏
  8. Fixing it 💪
  9. Writing test cases
  10. Make a hot fix with a typo
  11. Deploy and forget 😂