Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Xdebug

xdebug.org

  • Free plan
  • Windows
  • macOS
  • Linux
  • Web
  • Self-hosted
8.1 Club score Visit xdebug.org

What Xdebug is

Xdebug is a PHP extension that adds interactive debugging and code-analysis tools. Its step debugger lets developers move through execution while inspecting control flow and data structures. Enhanced var_dump() output and stack traces provide more context for notices, warnings, errors, and exceptions. Function tracing can record calls, arguments, invocation locations, variable assignments, and return values. The profiler writes execution and memory-use information in Cachegrind-compatible files for tools such as KCacheGrind or QCacheGrind. Code coverage shows which parts of a codebase run during PHPUnit tests. Xdebug communicates with IDEs through DBGp, supported by nearly every PHP IDE, including Visual Studio Code and PhpStorm. Installation guidance covers Linux, macOS, Windows, and Unix-like systems, with PHP-version compatibility documented. The extension is free. Pro costs £200 a year for one developer, while Business costs £1,000 a year for 2–20 developers and adds higher-priority support.

Who it suits

Xdebug suits PHP developers who need step debugging, tracing, profiling, or PHPUnit coverage. It works across listed desktop systems and PHP web or command-line environments with compatible IDEs.

Good to know, and what to watch

  • Interactive step debugging
  • Detailed stack traces and variable output
  • Cachegrind-compatible profiling
  • PHPUnit code coverage analysis
  • DBGp support across major PHP IDEs
  • Paid support starts at £200 a year
  • Compatibility depends on PHP version
  • Windows downloads cover specified PHP versions

Pro

£200/yr

Business

£1,000/yr

Free plan

The verdict

Xdebug provides a broad set of PHP debugging and analysis functions, from breakpoints to profiling and coverage. The free extension covers core use, while paid tiers add email support and issue-priority options.

What the maker publishes

Browser integrations
The step debugging documentation lists Xdebug Helper extensions for Firefox, Chrome/Chromium, and Edge, plus XDebugToggle for Safari. source
Code coverage
Xdebug provides code coverage analysis to show which parts of a codebase execute when running PHPUnit tests. source
Compatibility
Xdebug documents compatibility by PHP version and notes that current Xdebug releases support currently supported PHP versions. source
Error reporting
Xdebug improves var_dump() and adds stack traces for notices, warnings, errors, and exceptions. source
IDE integrations
The DBGp protocol is supported by nearly every PHP IDE, including Visual Studio Code and PhpStorm, and by text-based editors. source
Networking
Xdebug initiates debugger connections to the IDE, and Xdebug Cloud is described as a relay for cases where direct connections are blocked by networking or a firewall. source
Product
Xdebug is a PHP extension that provides features to improve the PHP development experience. source
Profiling
The built-in profiler reports execution and memory-use information in Cachegrind-compatible files that can be viewed with tools such as KCacheGrind or QCacheGrind. source
Release limits
The download page lists precompiled Windows binaries for specified PHP versions and source downloads for Linux and macOS. source
Security and privacy
The opened official pages describe debugging logs and connection configuration but make no security certification or compliance claim. source
Step debugging
Its step debugger lets developers walk through code interactively to examine control flow and data structures. source
Support
Community support uses Stack Overflow with low issue priority, while paid Pro and Business tiers offer email technical support and medium or high issue priority. source
Supported systems
Installation instructions cover Linux, macOS, Windows, and Unix-like systems; source builds are described for Unix-like operating systems. source
Tracing
Function tracing can record calls, arguments, and invocation locations, and optionally variable assignments and return values. source

Checked against the maker's pages on 2 Oct 2026.