---
title: "What is Xdebug?"
term: "Xdebug"
description: "Xdebug is an open-source PHP extension that adds step debugging, profiling, code coverage and more detailed error output for developers working on PHP applications."
url: "https://glossary.io/xdebug/"
published: "2026-11-22T20:47:58.017Z"
updated: "2026-11-22T20:47:58.017Z"
topics:
  - "Web development"
wikidata: "https://www.wikidata.org/wiki/Q2588925"
---

# What is Xdebug?

**Definition:** Xdebug 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](https://glossary.io/php/) engine and uses the DBGp debugging protocol, so code editors and [IDEs](https://glossary.io/ide/) 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](https://glossary.io/wordpress/), Laravel and other PHP projects. It slows PHP down noticeably, so it is normally turned off on production servers.

## Xdebug resources

- [Official website](https://xdebug.org)
- [Xdebug on Wikipedia](https://en.wikipedia.org/wiki/Xdebug)

## Related terms

- [IDE](https://glossary.io/ide/)
- [PHP](https://glossary.io/php/)
- [WordPress](https://glossary.io/wordpress/)

**Topic:** [Web development](https://glossary.io/topics/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/.

Published November 22, 2026.
