In his travels as a PHP developer, Jamie Wong has gathered some helpful debugging tips that are shared in this latest post to his blog.
Here are some bugfixing rules and tips I’ve learned working all these years with PHP. I emphasize mostly on fixing bugs than preventing them, which is another subject worth of its own article. I’ve moved to Rails, but I wanted to finish this post as a farewell and thanks to every article and documentation that was useful to me. Hope this is useful to you too.
Topics covered include:
- Assume nothing
- Turn Error Reporting to show all errors
- Read the error message
- Understand the bug
- "Scooby-Bug, where are you?"
- Get as much information as possible