Xdebug Explained
Xdebug is a PHP extension which provides debugging and profiling capabilities.[2] It uses the DBGp debugging protocol.
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
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
External links
Notes and References
- Web site: Rethans . Derick . Release version 0.7.0 . github . 16 May 2020.
- Book: McArthur
, Kevin
. Pro PHP: Patterns, Frameworks, Testing and More. limited. 2008-03-24. Apress. New York City, New York. 978-1-59059-819-1. 120 – 124. Testing, Development, and Continuous Integration.
- Book: Sklar. David. Trachtenberg. Adam. PHP Cookbook. 2nd. 2009-05-11. O'Reilly Media. Sebastopol, CA. 978-0-596-10101-5. 618 – 619. Error Handling, Debugging, and Testing.
- Book: Henderson
, Cal
. Building Scalable Web Sites . https://archive.org/details/buildingscalable0000hend/page/170 . registration . 2006-05-16 . . . 0-596-10235-6 . 170 – 171 . Bottlenecks.
- Book: Masters. Jon. Blum. Richard. Professional Linux Programming. 2007-03-12. John Wiley & Sons. Hoboken, New Jersey. 978-0-471-77613-0. 426. LAMP.
- Book: Gerner. Jason. Naramore. Elizabeth. Owens. Morgan L.. Warden. Matt. Gerner. Jason. Professional LAMP: Linux, Apache, MySQL and PHP Web Development. limited. 2005-12-05. John Wiley & Sons. Hoboken, New Jersey. 0-7645-9723-X. 197. PEAR and PECL.