pecl install xdebug

Xdebug is a debugging and productivity extension for PHP

Xdebug and provides a range of features to improve the PHP development

Step Debugging
A way to step through your code in your IDE or editor while the script is

Improvements to PHP's error reporting
An improved var_dump() function, stack traces for Notices, Warnings, Errors
and Exceptions to highlight the code path to the error

Writes every function call, with arguments and invocation location to disk.
Optionally also includes every variable assignment and return value for
each function.

Allows you, with the help of visualisation tools, to analyse the
performance of your PHP application and find bottlenecks.

Code Coverage Analysis
To show which parts of your code base are executed when running unit tests
with PHP Unit.

Version 3.3.2 change log

Mon, Apr 15, 2024 - Xdebug 3.3.2

= Fixed bugs:

- Fixed issue #2216: With PHP8.3 and Apache 2.4.58 error_reporting() causing Apache process to hang
- Fixed issue #2230: Crash when xdebug and blackfire extensions are active
- Fixed issue #2233: High and continuous Apache server CPU use


  • Derick Rethans (lead )



Stars: 2998
Issue openned: 10
Downloads: 43659806
3 months ago


  • php >=8.0.0<=8.3.99
  • pearinstaller >=1.9.1
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.