Debugging and Testing

Changsin Lee
8 min readApr 3, 2022

Debugging and testing are critical skills every developer should have. But how do you learn them?

· Can you learn to debug?
· Different Levels of Debugging
Debugging 101: Local debugging
Debugging 201: Remote Debugging
Debugging 301: Debugging in Prod
· Debugging and Testing
· Conclusion
· References

Photo by UX Indonesia on Unsplash

Debugging is “the process of finding and resolving bugs (defects or problems that prevent correct operation) within computer programs, software, or systems.”[from the wiki definition] A recent study reports that a typical developer spends about 15–60% of their in debugging.[1] Other than coding itself, debugging is one of the most important skills one should learn to be a better developer. The purpose of this article is to give you an overview of the debugging process so that you are better equipped to find your way in your debug learning journey.

Can you learn to debug?

Considering how much time developers spend debugging, it is strange that there is no school or class that teaches you how to debug. I can think of two reasons for the lack of formal education in debugging.

--

--

Changsin Lee

AI/ML Enthusiast | Software Engineer | ex-Microsoftie | ex-Amazonian