What is Xdebug?

DefinitionXdebug is an open-source PHP extension that adds step debugging, profiling, code coverage and more detailed error output for developers working on PHP applications.

Xdebug was created by Derick Rethans, who continues to maintain it. It plugs into the PHP engine and uses the DBGp debugging protocol, so code editors and IDEs such as PhpStorm and Visual Studio Code can pause a script, step through it line by line and inspect variables. It also produces detailed stack traces, function traces and profiling data for finding slow code.

Xdebug is widely used during local development of WordPress, Laravel and other PHP projects. It slows PHP down noticeably, so it is normally turned off on production servers.

Xdebug resources

Topic: Web development

Cite this definition
APA

What is Xdebug? (2026, November 22). Glossary. https://glossary.io/xdebug/

MLA

“What Is Xdebug?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/xdebug/.

Chicago

“What Is Xdebug?” Glossary. Coywolf. November 22, 2026. https://glossary.io/xdebug/.

HTML link
<a href="https://glossary.io/xdebug/">What is Xdebug?</a>

Published