qmetrics.net

Xdebug

PHP extension for debugging, profiling, and tracing

Xdebug screenshot

Xdebug extends PHP with step debugging, richer errors, tracing, profiling, and code coverage for IDEs and PHPUnit.

Overview

Xdebug is a debugging and diagnostics extension for PHP. It plugs into a PHP runtime to improve day-to-day development with controlled breakpoints, richer error output, and optional deep visibility into how scripts execute.

Step debugging lets you pause and advance through code from an IDE or editor while the script runs; each feature is enabled through explicit configuration settings. Improved reporting augments notices, warnings, errors, and exceptions with stack traces and a stronger var_dump-style dump. Tracing can log function calls, arguments, assignments, and return values to disk. Profiling supports performance analysis with external visualization tools, and coverage mode highlights executed lines during PHPUnit runs.

Installation is available through common Linux distribution packages, or via the PIE installer on Linux, macOS, and Windows when a supported PHP build is present. Documentation on xdebug.org lists per-feature setup and the full settings reference.

PHP developers who need IDE-backed debugging or measurable insight into runtime behavior adopt Xdebug as a standard companion to their stack.

Key features

  • IDE step debugging
  • Enhanced PHP error reporting
  • Execution tracing to disk
  • Request profiling output
  • PHPUnit code coverage
  • Configurable feature modes
  • Distribution packages and PIE install

Use cases

  • Debugging PHP in an IDE
  • Profiling slow web requests
  • Recording function-level traces
  • Measuring unit test coverage

Similar software

ShellCheck

Static analysis and linting for Bash shell scripts

ShellCheck scans bash and POSIX shell scripts for syntax, semantic, and portability problems. It is available as a CLI tool, editor integration, web paste interface, and CI hook.

★ 40.4k⟳ todayGPL-3.0

Mypy

Optional static type checker for Python

Mypy checks Python programs against PEP 484 type hints before you run them. It supports gradual typing so you can add annotations over time.

★ 20.7k⟳ todayMIT · open core

typescript-eslint

ESLint tooling for linting TypeScript codebases

typescript-eslint connects ESLint to TypeScript syntax and ships parser services plus lint rules. It enables standard and type-aware linting for JavaScript and TypeScript projects.

★ 16.5k⟳ 2 days agoMIT

React Doctor

CLI static analysis for React code quality

React Doctor scans React projects for correctness, performance, security, accessibility, and maintainability issues. Run it locally, in CI, or as an agent skill.

★ 15.2k⟳ 11 days agoMIT

Ajv

JSON Schema and JSON Type Definition validator for JavaScript

Ajv compiles JSON Schemas into validation functions for Node.js and browsers. It supports multiple JSON Schema drafts and JSON Type Definition (RFC 8927).

★ 14.9k⟳ 7 months agoMIT

Why Did You Render

React and React Native avoidable re-render diagnostics

Welldone Software’s library monkey-patches React in development to log when components render and why. It highlights redundant updates and works with React Native.

★ 12.5k⟳ 1 year agoMIT