Debugging & Profiling

Xdebug PHP Debugger and Profiler

Xdebug adds step debugging, stack traces, code coverage and profiling capabilities to PHP.

Overview

Xdebug adds step debugging, stack traces, code coverage and profiling capabilities to PHP.

Common uses

  • Step through application code
  • Inspect variables and call stacks
  • Generate code coverage
  • Profile slow requests

Avoid exposing debugging endpoints on public production servers.

Official website: Xdebug

Evaluation checklist

  • Prefer official documentation and repositories.
  • Check supported PHP versions and release history.
  • Review installation instructions and license terms.
  • Keep dependencies updated and run security checks.