DEV Community

Discussion on: What is your debugging approach?

Collapse
 
srinivas33 profile image
Srinivasa Rao

Here is my approach

  1. Reproduce the bug
  2. Locate the bug ( I use bunch of print statements, pdb here)
  3. Fix the bug
  4. Test it carefully
  5. Deploy on to staging and test again
  6. Deploy on to production