If you find Xdebug useful, please consider supporting the project.

Documentation - all related content


Activation and Triggers

This video explains how to activate, through triggers and other method's Xdebug's step debugger, profiler, and tracer.


Code Coverage for Websites

This video shows how to collect code coverage information for a website, instead of unit tests for which this is normally used.


Debugging Symfony Console Commands

This video explains how to debug Symfony Console Commands on the CLI with PhpStorm


Laravel Sail with PhpStorm

This video shows how to enable and set-up Xdebug within the Laravel Sail Docker environment.


Profiling with Xdebug in Docker

This video explains how to change a Docker configuration to enable profiling without rebuilding the container.


Profiling: 1. Setting Up

This video explains how to create profiling files with Xdebug, including some of its available settings.


Profiling: 2. KCacheGrind Tour

This video provides a tour of KCachegrind, a tool to visualise Xdebug's profiling files.


Profiling: 3. Analysing Data

This video explains how to use KCacheGrind to analyse a profile file, using Wordpress' front page as an example.


Setting up Apache, PHP, VS Code, and Xdebug in 10 minutes

This video shows you how to install Apache, PHP, VS Code, and Xdebug on Ubuntu 21.10, to get a PHP development set-up, all within 10 minutes.


Short Closures and Conditional Breakpoints

This short video shows how useful Xdebug is with short closures, and also introduce some basic conditional breakpoints.


Step Debugging Unit Tests with PhpStorm on Linux

This video explains how to install Xdebug on the Linux command line through PECL, and then shows how to find and fix bugs when running unit tests with PHPUnit.


Step Debugging with Docker and PhpStorm

This video explains in a few minutes how to set-up debugging with PHP and Xdebug running in Docker and PhpStorm.


Step Debugging with Docker and VS Code

This video explains how to dockerify the Symfony Demo Application, and then setup debugging with Xdebug and VS Code.


Xdebug 3: Diagnostics

This video teaches you how to troubleshoot your Xdebug setup. It explains how to find out how Xdebug is configured, which settings have been made, and what it is attempting to do regarding its different features.


Xdebug 3: Modes

This video introduces Xdebug 3's modes — the new way to configure which parts of Xdebug you have enabled.