Debugging
Programmers develop good coding habits to reduce the number of bugs in their code. They never eliminate them. Good debugging skills are a result of experience, a solid understanding of how the software works, logical thinking, and dogged persistence. If you have limited experience debugging code, then the process is a lot like how auto mechanics work:
Collect symptoms of the problem.
Match symptoms to possible causes.
Begin eliminating potential causes.
Repair most probable cause.
Test the repair to confirm that the problem is fixed.
The more you work through this process, the more it will become second nature to you.
This section introduces the tools that are available for debugging Elgg plugins. Debugging plugins can be challenging because there can be problems on the server or the client and the bug can be in PHP, HTML, CSS, or JavaScript code. Because of this, a good web developer is comfortable with a set of tools that span these languages: debuggers, web browser developer tools...