Skip to content

Small business web,
explained since the early 2010s

7eye / Blog / Xdebug: debugging PHP properlyPHP

Xdebug: debugging PHP properly

Xdebug is a PHP extension for step debugging, profiling and better error output.

Section
PHP
Reading time
3 min
Written by
7eye editors
Format
Article

A / 01What it does

  • Step debugging with breakpoints in your editor.
  • Profiling to find slow code.
  • Improved stack traces and variable output.

B / 02Use it in development only

Xdebug adds overhead, so enable it on development machines, not production servers.

C / 03Reference

Installation and configuration are documented at xdebug.org.

Read next

  1. 001Programming languages used in web developmentDevelopment3 min
  2. 002Where to learn programming for the webLearning3 min
  3. 00320 things to check during website developmentDevelopment3 min