AI Assistance for Debugging
Calculating... - Author: Thierry P. Gaillard - -
Today, as a developer, AI is my first instinct when I need to debug programs that aren’t working. It’s so much simpler, faster, and more reliable to ask the AI why an error occurred by providing it with a clear screenshot of the error message, rather than digging through libraries, official documentation, or websites like Stack Overflow.
However, I read the official documentation several times a month, particularly updates on new features (for example, on Web.Dev or Google Developers), changes to methods (for example, in JavaScript), and browser updates.
Developer forums like Stack Overflow remain essential for continuing my education, getting ideas from the best in the field, and staying in touch with the community. They also help me guide the AI in the right direction.
The first thing I do when the AI gives me a confident answer that turns out to be incorrect is to point out the error and the reasons for it, then ask it to come up with a solution. The AI frequently does this and resolves the issue. But if I encounter a recurring error that it can’t fix, I provide it with the official documentation or solutions from Stack Overflow so it can use them to resolve the problem.
Ultimately, I solve the problem myself in 10% of cases by using my own knowledge, the official documentation, and forums.
I want to emphasize that despite my extensive use of AI to debug my programs and applications, I’m very attached to official documentation and forums, because these resources allow me to keep my knowledge up to date according to best practices, feel connected to a community (and thus not feel alone), and help the AI achieve excellence.

