michaelmcandrew / civicrm-buildkit-docker

This is a read only copy. Please make PRs here: https://lab.civicrm.org/michaelmcandrew/civicrm-buildkit-docker
https://lab.civicrm.org/michaelmcandrew/civicrm-buildkit-docker
GNU Affero General Public License v3.0
40 stars 31 forks source link

Add support for Xdebug 3 #62

Open valenvb opened 3 years ago

valenvb commented 3 years ago

This addresses #61, updating the configuration to support xdebug 3. It also contains a couple of fixes I encountered on the way to resolving this, namely using host.docker.internal if resolvable as the Xdebug client address, and splitting configuration into web and cli components to avoid filling the CLI with messages if the debugger is off while using buildkit and other php commands.