Question 1 of 20
How to Answer
By asking this question, the interviewer is trying to understand your ability to debug a program. Troubleshooting and debugging are key skills web developers must possess. The best way to respond to this question is in a general manner, stating the techniques you use to solve problems within a program you developed. Don't get mired in the details. The interviewer will ask follow-up questions if they need more information.
"It is almost impossible to write code or develop applications without any errors occurring. The key is to have methods and techniques you use to find and resolve the errors. My first response when a program stops working this to do a quick visual scan of the code to see if anything jumps out at me. If this doesn't work, I then use debugging tools to find the errors."
"it is very common to have errors when developing applications. Most of these are due to syntax or logical problems. These two issues create ambiguity in the code. The easiest way to resolve these is to use a debugging tool to find and fix the errors. My preferred tool is Sentry, which is an open-sourced program."