DEV Community

Discussion on: What are your debugging tips?

Collapse
 
iamschulz profile image
Daniel Schulz

I got a few:

  • Breakpoints for assignment problems, loggers for flow problems.
  • Document your bugs, you'll see them again.
  • Fix a bug, then write a test for it.
  • Does it break the product? It's a bug. Is it just inconvinient? It's a feature request.
  • Talking a walk outside is a valid bugfixing strategy.