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
In order to have a working Xdebug, you need to ensure two things:
- PHP Xdebug must be configured and enabled in PHP itself
- 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
Docker on Linux allows Xdebug to automatically connect back to the host system without the need of an explicit IP address.
Docker Toolbox configuration is equal, no matter if it is started on MacOS or Windows, as both use a Linux system inside VirtualBox.