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.

DeveloperDerick Rethans
Initial releaseMay 8, 2002 (2002-05-08)[1]
Stable release
3.2.1 / March 21, 2023; 2 years ago (2023-03-21)
Written inC
Quick facts Developer, Initial release ...
Xdebug
DeveloperDerick Rethans
Initial releaseMay 8, 2002 (2002-05-08)[1]
Stable release
3.2.1 / March 21, 2023; 2 years ago (2023-03-21)
Written inC
Available inEnglish
TypeDebugger
LicensePermissive license, derived from the MIT license
Websitexdebug.org
Repository
Close
UML component diagram for Xdebug and PHP, integrated via the browser and an IDE

The debug information that Xdebug can provide includes the following:

  • stack and function traces in error messages[3] with:
  • full parameter display for user defined functions
  • function name, file name and line indications
  • support for member functions

Xdebug also provides:

  • profiling information for PHP scripts[4]
  • code coverage analysis
  • capabilities to debug your scripts interactively with a debugger front-end.[5]

Xdebug is also available via the PECL.[6]

See also

References

Related Articles

Wikiwand AI