PHP Architect · Vol 17, Issue 5 · May 2018
Debugging PHP With Xdebug
by Mark Niebergall
Debugging in PHP can be tedious and prone to errors when using var_dump and echo statements. Xdebug is a powerful tool that can be used for debugging PHP more effectively and for gaining better insights into what an application is actually doing. In this article we will cover setting up an PhpStorm with Xdebug, how to use various browsers to enable debugging that will let you step into code and see variable values live, and how to extend those debugging capabilities into the command line interface (CLI), REST APIs, and SOAP clients.
The full article is in PHP Architect Vol 17, Issue 5. Subscribe to read it and every new issue.