You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -475,6 +475,31 @@ $ make down
475
475
476
476
### Debug / Setup PHPStorm
477
477
478
+
#### Docker-Compose Environment
479
+
480
+
Please update the `docker-compose.override.dev.yml` file with proper `PHP_XDEBUG_CLIENT_HOST` IP address. You can get this value just by executing the following command:
481
+
482
+
```bash
483
+
$ make get-xdebug-client-host
484
+
```
485
+
486
+
So the `docker-compose.override.dev.yml` should look like:
487
+
488
+
```yaml
489
+
environment:
490
+
- PHP_XDEBUG_IDEKEY=PHPSTORM
491
+
- PHP_XDEBUG_MODE=develop,coverage,debug,profile
492
+
- PHP_XDEBUG_START_WITH_REQUEST=yes
493
+
- PHP_XDEBUG_CLIENT_HOST=172.18.0.1
494
+
- PHP_XDEBUG_CLIENT_PORT=9003
495
+
- PHP_XDEBUG_MAX_NESTING_LEVEL=3000
496
+
- PHP_XDEBUG_OUTPUT_DIR=/tmp/xdebug
497
+
- PHP_XDEBUG_DISCOVER_CLIENT_HOST=false
498
+
- PHP_XDEBUG_LOG=/dev/stdout
499
+
- PHP_XDEBUG_LOG_LEVEL=0
500
+
...
501
+
```
502
+
478
503
#### Help > Change Memory Settings
479
504
480
505
To allow PHPStorm index huge projects consider to increase the default assigned memory amount from 2048 MiB up to 8192 MiB.
0 commit comments