Bugs are mistakes in programs that cause them to behave differently than intended.
Debugging is the process of finding and fixing those bugs.
- the process in which we tell our application with
printfor any other similar statements in other languages, to generate output while the program is executing. - the output generated helps diagnose issues within the program.
- is a tool built into VS Code, which will walk through the program step-by-step.
- the technique where we explain the code to a rubber duck or any other inanimate object.
- by talking through the code out loud, we might realize the mistake.