DevOps

Xdebug – extension for PHP to aid debugging and development

Xdebug is an extension for PHP to assist with debugging and development.

It provides step-debugging and a whole range of development aids, such as stack traces, a code profiler, features to dump the full execution of your script to a file, and more.

Xdebug is free and open source software.

Key Features

  • Contains a single step debugger to use with IDEs.
  • Upgrades PHP’s var_dump() function.
  • Adds stack traces for Notices, Warnings, Errors and Exceptions.
  • Features functionality for recording every function call and variable assignment to disk.
  • Contains a profiler.
  • Provides code coverage functionality for use with PHPUnit.

The debug information that Xdebug can provide includes the following:

  • Stack and function traces in error messages with:
    • Full parameter display for user defined functions.
    • Function name, file name and line indications.
    • Support for member functions.
  • Memory allocation.
  • Protection for infinite recursions.

Xdebug also provides:

  • Profiling information for PHP scripts.
  • Code coverage analysis.
  • Capabilities to debug scripts interactively with a debugger front-end.

Website: xdebug.org
Support: Documentation, GitHub Code Repository
Developer: Derick Rethans
License: The Xdebug License, derived from the MIT license (open source)

Xdebug is written in PHP and C. Learn PHP with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials.


Related Software

Debuggers
LLDBNext generation, high-performance debugger
GhidraSoftware reverse engineering framework
DelveSource level debugger for the Go programming language
GDBThe GNU Debugger
ValgrindA memory debugger and profiler
Radare2Portable reversing framework
BugStalkerRust debugger
XdebugExtension for PHP to aid debugging and development
SeerGUI frontend to GDB
iaitoGraphical interface for radare2
React Native DebuggerStandalone app for debugging React Native apps
KDbgGraphical user interface to GDB
straceDiagnostic, debugging and instructional userspace utility
rrRecord-and-replay debugger
drgnProgrammable debugger that puts scripting at the centre
cgdbLightweight console frontend to the GNU debugger
PuDBConsole-based visual debugger for Python
nndPartially inspired by RemedyBG
bashdbSource-code debugger for bash; follows the GDB command syntax
SysprofProfile an application or entire system
crashLinux kernel crash analysis utility
NemiverStandalone graphical debugger for GNOME

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted