Adding a new panel to the WordPress Debug Bar plugin
You can extend the WordPress Debug Bar plugin adding new custom panels to fit your needs; for instance, showing responses from external APIs or webservices, or for other custom features. That’s an extremely simple example. You can check a more complex and complete one by viewing the source of one of the Debug Bar extender…
Debugging memory usage in PHP apps
As your app gets increasingly more complex, you might run into Memory exhausted errors, and even though you can always increase the allowed memory usage — either by tweaking php.ini or locally with ini_set() — it should be a better option to find out what’s using so much memory in the first place.