Attention

You can now run different PHP versions per project: Release v3.0.0-beta-0.1

3. Configure PHP Xdebug

This section explains in depth how to enable and use PHP Xdebug with the Devilbox.

Table of Contents

3.1. Introduction

In order to have a working Xdebug, you need to ensure two things:

  1. PHP Xdebug must be configured and enabled in PHP itself
  2. Your IDE/editor must be configured and requires a way talk to PHP

Configuring PHP Xdebug will slightly differ when configuring it for a dockerized environment. This is due to the fact that Docker versions on different host os have varying implementations of how they connect back to the host.

Most IDE or editors will also require different configurations for how they talk to PHP Xdebug. This is at least most likely the case for xdebug.idekey.