Join Jon Peck for an in-depth discussion in this video Goodbye, part of Debugging PHP: Advanced Techniques.
Debugging code is messy.…In every program mistakes will be made and inevitably more problems will be created …when trying to fix the original problem.…My wife and I learned a valuable lesson moving into a house we were fixing up.…Don't start ripping out something unless you're prepared to deal with…whatever mess it is hiding.…Debugging can be a bit like that.…But similar to cleaning up a moldy carpet, it's pretty much a requirement …and the consequences of not dealing with the problem by ignoring it, …tend to be much worse than just fixing it.…I appreciate your time and I hope you enjoyed watching this course …as much as I enjoyed writing it and recording it while working with the team at lynda.com.…
This course covers installation of Xdebug on Apache as well as working with the NetBeans IDE (integrated development environment). Jon then introduces native web browser developer tools for Firefox and Chrome, and demonstrates browser independent web debugging tools. Best practices for debugging and profiling web application failures and performance issues are also covered.
- Configuring PHP error reporting
- Logging errors to file
- Gracefully handling fatal errors
- Installing Xdebug
- Understanding the principles of remote debugging
- Remote debugging with NetBeans
- Extending your browser with Firebug, FirePHP, or ChromePHP