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

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
  • 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

edit

References

edit
  1. ^ Rethans, Derick. "Release version 0.7.0". github. Retrieved 16 May 2020.
  2. ^ McArthur, Kevin (2008-03-24). "Testing, Development, and Continuous Integration". Pro PHP: Patterns, Frameworks, Testing and More. New York City, New York: Apress. pp. 120 – 124. ISBN 978-1-59059-819-1.
  3. ^ Sklar, David; Trachtenberg, Adam (2009-05-11). "Error Handling, Debugging, and Testing". PHP Cookbook (2nd ed.). Sebastopol, CA: O'Reilly Media. p. 618 – 619. ISBN 978-0-596-10101-5.
  4. ^ Henderson, Cal (2006-05-16). "Bottlenecks". Building Scalable Web Sites. Sebastopol, CA: O'Reilly Media. pp. 170 – 171. ISBN 0-596-10235-6.
  5. ^ Masters, Jon; Blum, Richard (2007-03-12). "LAMP". Professional Linux Programming. Hoboken, New Jersey: John Wiley & Sons. p. 426. ISBN 978-0-471-77613-0.
  6. ^ Gerner, Jason; Naramore, Elizabeth; Owens, Morgan L.; Warden, Matt (2005-12-05). "PEAR and PECL". In Gerner, Jason (ed.). Professional LAMP: Linux, Apache, MySQL and PHP Web Development. Hoboken, New Jersey: John Wiley & Sons. p. 197. ISBN 0-7645-9723-X.
edit


📚 Artikel Terkait di Wikipedia

List of PHP editors

editors/codelite: Open Source IDE for C/C++". freshports.org. "Debugging using XDebug – Eclipsepedia". "Third-Party Packages | Geany". geany.org. Outdated packages

DBGp

Common DeBugGer Protocol as used by Xdebug and potentially other implementations. DBGp is a simple protocol for use with language tools and engines for

List of TCP and UDP port numbers

Electronics Archived January 4, 2012, at the Wayback Machine "Xdebug Documentation – All Settings". xdebug.com. Retrieved 2023-09-11. "Kafka 0.11.0 Documentation"

List of PHP software and tools

in Google Chrome". github.com. Retrieved 2025-09-13. "GitHub - xdebug/xdebug: Xdebug — Step Debugger and Debugging Aid for PHP". github.com. Retrieved

GitHub Codespaces

SSH SonarQube Spring Boot SQLite Vim emulator Windows Subsystem for Linux Xdebug Comparison of integrated development environments Comparison of source-code-hosting

Code coverage

NCover Clover DevPartner Java EMMA Jtest LDRA Testbed PHPUnit, also need Xdebug to make coverage reports Test coverage is one consideration in the safety

NetBeans

highlighting of parameters and unused local variables PHP code debugging with xdebug PHP Unit testing with PHPUnit and Selenium Code coverage Symfony framework

List of performance analysis tools

mixed Windows x64 and x86 applications. Visual Studio BlackFire.io Dbg Xdebug is a PHP extension which provides debugging and profiling capabilities.