Skip to content

Instantly share code, notes, and snippets.

@d70rr3s
Created February 2, 2021 15:16
Show Gist options
  • Save d70rr3s/b6dd85b38b69b4e5e9c81f79e64af4a5 to your computer and use it in GitHub Desktop.
Save d70rr3s/b6dd85b38b69b4e5e9c81f79e64af4a5 to your computer and use it in GitHub Desktop.
Configure contenerized PHP (wodby/php) + Xdebug 3 + PHPStorm
version: "3"
services:
php:
environment:
PHP_XDEBUG: 1
PHP_XDEBUG_MODE: debug
PHP_XDEBUG_START_WITH_REQUEST: "yes"
PHP_IDE_CONFIG: serverName=phpstorm
PHP_XDEBUG_IDEKEY: "phpstorm"
PHP_XDEBUG_CLIENT_HOST: host.docker.internal
PHP_XDEBUG_LOG: /tmp/php-xdebug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment