xdebug

pecl install xdebug

Xdebug is a debugging and productivity extension for PHP

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

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

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

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

Profiling
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.2.0alpha1 change log


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

Maintainer

  • Derick Rethans (lead )

Details

Categories

Stars: 2998
Issue openned: 10
Downloads: 43659798
3.2.0alpha1
20/07/2022 16:02

requires:

  • php >=8.0.0<=8.2.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.