Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Debugging

Zach Weishar edited this page Apr 21, 2017 · 1 revision

Xdebug

Xdebug comes enabled in the php container by project-x out of the box. When you first set your project up project-x tries to make connecting your IDE up to Xdebug easy by mapping your current IP address to Xdebug's remote_host parameter. You can see the result of this in the docker-compose-dev.yml file in your project root. It should look something like this:

php:
    environment:
        XDEBUG_CONFIG: remote_host=192.168.0.103

Be aware that your IP address can change based on the network you're connected to. In order to configure your IDE with Xdebug you will need to make sure this value matches your current IP address.

Clone this wiki locally