Back to Vol 17, Issue 5

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.

Subscribe
Mark Niebergall

About the author

Mark Niebergall

Mark Niebergall is a security-minded PHP software engineer with over a decade of hands-on experience with PHP projects. He is the Utah PHP User Group Co-Organizer and often speaks at user groups and conferences. Mark has a Masters degree in MIS, is CSSLP and SSCP cybersecurity certified, and volunteers for (ISC)2 exam development. Mark enjoys going for long runs and teaching his five boys how to push buttons and use technology.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →