Even though this book isn’t a “how to script” manual, some concepts that are funda-mental to writing successful scripts should be discussed. Debugging is one of them.
Debugging code is a significant part of writing code. No matter how disciplined you are
or how skilled you become at coding, you will have bugs in your code, in the form of either
syntax or logic errors. The syntactical problems tend to be simpler to resolve since many
times they show up when the code throws an error when it is run. The logical bugs, on the
and, may be more difficult to track down since the code may run without error, but
the resulting output does not match the design of the program. The more complex your
code becomes as your skill increases, the more difficult these types of problems will be to