human
I'm coding a program and I need help. How do I go about debugging it?
assistant
To start debugging your program, you need to narrow down where any errors may be coming from. First, you should carefully examine the code and look for any typos, syntax errors, or logical errors. Then, you can test the program on a small scale, gradually increasing the scope until you find the source of the error. Additionally, you can use breakpoints and debugging tools to figure out where the program is breaking down and which inputs and variables are causing it.