Skip to content
whatismyalternative

Xdebug

Debugger and Profiler Tool for PHP (homepage title)

Visit Xdebug

Xdebug is a PHP extension that adds debugging, diagnostics, and analysis features to the language. It addresses common development tasks such as stepping through code while a script runs, getting clearer error output with stack traces for notices, warnings, errors, and exceptions, and inspecting execution paths when something goes wrong.

Its main capabilities include step debugging from an IDE or editor, an improved var_dump(), function-call tracing written to disk with optional variable assignments and return values, profiling output for use with visualization tools to locate performance bottlenecks, and code coverage analysis showing which parts of a code base run during PHPUnit unit tests. Xdebug Cloud is offered separately as a Proxy-as-a-Service for networking situations such as developers working remotely against a shared development server on a private network.

Xdebug is aimed at PHP developers working in an IDE or editor and at teams running PHPUnit tests. The extension is distributed in numbered releases, with alpha versions published alongside stable ones.

10 alternatives to Xdebug

Ranked by how well each tool replaces Xdebug: shared features, audience, price and popularity.

  1. An open-source debugger for Windows applications.

    Has a free plan and is open source.

    Free planOpen source
    54 out of 100 matchFree
  2. All-in-one PHP IDE and web editor with built-in HTML5, CSS3 and JavaScript editors

    53 out of 100 match—
  3. Integrated Development Environment for PHP, HTML, CSS, XML, SMARTY, XHTML and other

    52 out of 100 matchContact sales
  4. Apache + MariaDB + PHP + Perl

    Has a free plan and is open source.

    Free planOpen source
    42 out of 100 matchContact sales
  5. Mission-Critical PHP Made Possible

    Has a free plan.

    Free plan
    42 out of 100 matchContact sales
  6. Local PHP development environment for Windows

    Has a free plan and is open source.

    Free planOpen source
    41 out of 100 matchContact sales
  7. AI production debugger that captures live variable state from running code without redepl

    Has a free plan.

    Free plan
    40 out of 100 match$99/mo
  8. Free Online Toolbox for developers

    Has a free plan and is open source.

    Free planOpen source
    37 out of 100 matchFree
  9. PHP testing framework for everyone.

    Is open source.

    Open source
    36 out of 100 match—
  10. Find Out Why Your PHP App Is Slow Before It Costs You.

    36 out of 100 matchContact sales