Xdebug
PHP extension used for debugging and profiling
From Wikipedia, the free encyclopedia
Xdebug is a PHP extension which provides debugging and profiling capabilities.[2] It uses the DBGp debugging protocol.
| Xdebug | |
|---|---|
An Xdebug error message on Wikimedia Commons | |
| Developer | Derick Rethans |
| Initial release | May 8, 2002[1] |
| Stable release | 3.2.1
/ March 21, 2023 |
| Written in | C |
| Available in | English |
| Type | Debugger |
| License | Permissive license, derived from the MIT license |
| Website | xdebug |
| Repository | |

The debug information that Xdebug can provide includes the following:
- full parameter display for user defined functions
- function name, file name and line indications
- support for member functions
- memory allocation
- protection for infinite recursions
Xdebug also provides:
- profiling information for PHP scripts[4]
- code coverage analysis
- capabilities to debug your scripts interactively with a debugger front-end.[5]
See also
- Debugger
- Dynamic program analysis
- Software performance analysis
- Optimization
- DBG (another open source PHP debugger)
- Zend Studio (the Zend Debugger is an alternative to Xdebug)