Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion guides/v2.1/cloud/docker/docker-development-debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down