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.

License: BSD style

Latest releases

Version Release Download
3.2.0alpha3 2022-08-24 xdebug-3.2.0alpha3.tgz
3.2.0alpha2 2022-07-25 xdebug-3.2.0alpha2.tgz
3.2.0alpha1 2022-07-20 xdebug-3.2.0alpha1.tgz
3.1.5 2022-06-06 xdebug-3.1.5.tgz
3.1.4 2022-04-04 xdebug-3.1.4.tgz
Show all releases


Version Message
3.2.0alpha3 Wed, Aug 24, 2022 - Xdebug 3.2.0alpha3

+ Improvements:

- Fixed issue #2112: Force 'return_value' breakpoint information and step to 'on' temporarily
3.2.0alpha2 Mon, Jul 25, 2022 - Xdebug 3.2.0alpha2

= Fixed bugs:

- Fixed issue #2105: 3.2.0alpha1 package misses the php-header.h file
3.2.0alpha1 Wed, Jul 20, 2022 - Xdebug 3.2.0alpha1

+ New features:

- Fixed issue #1819: Allow a list of headers in 'xdebug.client_discovery_header'
- Fixed issue #2079: Add pseudo hosts xdebug://gateway and xdebug://nameserver
- Fixed issue #2087: Introduce step for the return state and virtual property for return value
- Fixed issue #2104: Add support for PHP 8.2 "SensitiveParameter" attribute

+ Improvements:

- Fixed issue #2086: Include return value in return breakpoint interruption response

- Removed features:

- Fixed issue #2014: Drop support for PHP 7.2
- Fixed issue #2102: Drop support for PHP 7.3
- Fixed issue #2103: Drop support for PHP 7.4

= Fixed bugs:

- Fixed issue #2002: xdebug_trace_handler_t handler members are not always checked for NULL when executing
- Fixed issue #2045: Inapproriate frowny face
- Fixed issue #2062: Profiler can't able to write cachegrind file at /tmp
- Fixed issue #2089: Alpine Linux does not support res_ninit
- Fixed issue #2093: Fatal error: linux/rtnetlink.h: No such file or directory linux/rtnetlink.h
- Fixed issue #2098: With breakpoint_include_return_value enabled step_out break at every function
3.1.5 Mon, Jun 06, 2022 - Xdebug 3.1.5

= Fixed bugs:

- Fixed issue #2056: Install documentation gives wrong arch for installation on M1 Macs
- Fixed issue #2082: phpize --clean removes required clocks.m4 file
- Fixed issue #2083: Constant defined with an enum case produce double "facet" attribute in context_get response
- Fixed issue #2085: Crash when used with source guardian encoded files
- Fixed issue #2090: Segfault in __callStatic() after FFI initialization
3.1.4 Mon, Apr 04, 2022 - Xdebug 3.1.4

= Fixed bugs:

- Fixed issue #2006: Removing second call breakpoint with same function name
- Fixed issue #2060: XDebug breaks the Symfony "PhpFilesAdapter" cache adapter
- Fixed issue #2061: Possible use after free with GC Stats
- Fixed issue #2063: Can't inspect ArrayObject storage elements
- Fixed issue #2064: Segmentation fault in symfony cache
- Fixed issue #2068: Debug session can be started with "XDEBUG_SESSION_START=anything" when xdebug.trigger_value is set
- Fixed issue #2069: Warn when profiler_append is used together with zlib compression
- Fixed issue #2075: Code coverage misses static array assignment lines
Show complete changelog