Open Smolevich opened 4 years ago
Check out https://github.com/wodby/docker4drupal/issues/345, and specifically comment https://github.com/wodby/docker4drupal/issues/345#issuecomment-452275197 might help you
Docker's containers are remote hosts for your IDE so check if you have correct mapping for your local paths to remote paths
Codebase
Host OS
e.g. macOS Sierra macOS Mojave 10.14.6
Docker info output
nginx: image: wodby/nginx container_name: "simple-service-2" environment: NGINX_SERVER_ROOT: /var/www/html/public NGINX_ERROR_LOG_LEVEL: debug NGINX_BACKEND_HOST: php NGINX_VHOST_PRESET: php NGINX_FASTCGI_INDEX: index.php labels:
nginx.docker.localhost
)"php
php: image: wodby/php:7.3 container_name: "simple-service-3" environment: PHP_FPM_CLEAR_ENV: "no" PHP_XDEBUG: 1 PHP_XDEBUG_DEFAULT_ENABLE: 1 PHP_XDEBUG_REMOTE_CONNECT_BACK: 0 PHP_XDEBUG_IDEKEY: "vscode" PHP_IDE_CONFIG: serverName=vscode PHP_FPM_USER: wodby PHP_FPM_GROUP: wodby PHP_XDEBUG_REMOTE_HOST: host.docker.internal PHP_XDEBUG_REMOTE_LOG: /tmp/php-xdebug.log volumes:
networks: traefik_proxy: driver: bridge name: traefik_proxy
simple-service-3 | [29-Oct-2019 14:33:41] NOTICE: fpm is running, pid 1 simple-service-3 | [29-Oct-2019 14:33:41] NOTICE: ready to handle connections simple-service-3 | 172.21.0.5 - 29/Oct/2019:14:33:45 +0000 "GET /index.php" 200 simple-service-3 | 172.21.0.5 - 29/Oct/2019:14:33:47 +0000 "GET /index.php" 200 simple-service-3 | 172.21.0.5 - 29/Oct/2019:14:55:16 +0000 "GET /index.php" 200 simple-service-3 | 172.21.0.5 - 29/Oct/2019:14:56:26 +0000 "GET /index.php" 200
[85] Log opened at 2019-10-29 14:56:26 [85] I: Connecting to configured address/port: host.docker.internal:9000. [85] I: Connected to client. :-) [85] -><![CDATA[Xdebug]]> <![CDATA[Derick Rethans]]> <![CDATA[https://xdebug.org]]> <![CDATA[Copyright (c) 2002-2019 by Derick Rethans]]>
[85]
[85] ->
[85]
[85] Log closed at 2019-10-29 14:56:26
[85]