From 762174c281d87a4b2b895a51380454368d700f06 Mon Sep 17 00:00:00 2001 From: Yevhen Miroshnychenko Date: Thu, 20 Jun 2019 13:29:42 -0500 Subject: [PATCH] MAGECLOUD-3357: [Cloud Docker] Changes in .magento.app.yaml should affect php modules --- .../v2.1/cloud/docker/docker-development-debug.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/guides/v2.1/cloud/docker/docker-development-debug.md b/guides/v2.1/cloud/docker/docker-development-debug.md index f03a41b1746..f00617c9bf7 100644 --- a/guides/v2.1/cloud/docker/docker-development-debug.md +++ b/guides/v2.1/cloud/docker/docker-development-debug.md @@ -18,7 +18,20 @@ If you use Microsoft Windows, take the following steps before continuing: ## Enable Xdebug -To enable Xdebug, you must configure your `docker-compose.yaml` file at the time you configure your local workstation to [Launch Docker]({{ page.baseurl }}/cloud/docker/docker-config.html). +To enable Xdebug, you must add `xdebug` to `.magento.app.yaml` file. +```yaml +# Enable extensions required by Magento 2 +runtime: + extensions: + - redis + - xsl + - json + - blackfire + - newrelic + - xdebug + +``` +After, you must rebuild your `docker-compose.yaml` file, using cli command `php ./vendor/bin/ece-tools docker:build` at the time you configure your local workstation to [Launch Docker]({{ page.baseurl }}/cloud/docker/docker-config.html). ```yaml generic: