This is a presentation compiled by Mihai Gutuleac, on the topic of "Debugging methods". It presents a list of useful and handy tools and error handler frameworks which will help web developers to easily find out and debug the errors and also to handle more appropriate the raised exceptions in their web applications.
6. PHP INI CONF
DEVELOPMENT
// Display errors
display_startup_errors = On
display_errors = On
//Report all errors
error_reporting = -1
//Turn on error logging
log_errors = On
PRODUCTION
// Do not display errors
display_startup_errors = Off
display_errors = Off
// Report all errors BUT NO
notices
error_reporting = E_ALL &
~E_NOTICE
//Log Errors
log_errors = On
14. • Rubber duck debugging is an informal term used
in software engineering for a method
of debugging code. The name is a reference to a story
in a book in which a programmer would carry around
a rubber duck and debug their code by forcing
themselves to explain it, line-by-line, to the duck. Many
other terms exist for this technique, often involving
different inanimate objects.
• Many programmers have had the experience of
explaining a programming problem to someone else,
possibly even to someone who knows nothing about
programming, and then hitting upon the solution in the
process of explaining the problem.
source: wikipedia.org