Merge branch 'HermesMartins-fix_xdebug_documentation' into master

This commit is contained in:
Shao Yu Lung 2021-03-24 19:58:16 +08:00
commit 6c9aa998eb
1 changed files with 16 additions and 2 deletions

View File

@ -289,17 +289,31 @@ docker-compose build workspace
<br> <br>
a) open the `.env` file a) open the `.env` file
<br> <br>
b) search for the `WORKSPACE_INSTALL_XDEBUG` argument under the Workspace Container b) search for the `WORKSPACE_INSTALL_XDEBUG` argument under the Workspace settings
<br> <br>
c) set it to `true` c) set it to `true`
<br> <br>
d) search for the `PHP_FPM_INSTALL_XDEBUG` argument under the PHP-FPM Container d) search for the `PHP_FPM_INSTALL_XDEBUG` argument under the PHP-FPM settings
<br> <br>
e) set it to `true` e) set it to `true`
2 - Re-build the containers `docker-compose build workspace php-fpm` 2 - Re-build the containers `docker-compose build workspace php-fpm`
For information on how to configure xDebug with your IDE and work it out, check this [Repository](https://github.com/LarryEitel/laravel-laradock-phpstorm) or follow up on the next section if you use linux and PhpStorm. For information on how to configure xDebug with your IDE and work it out, check this [Repository](https://github.com/LarryEitel/laravel-laradock-phpstorm) or follow up on the next section if you use linux and PhpStorm.
```
###########################################################
################ Containers Customization #################
###########################################################
### WORKSPACE #############################################
...
WORKSPACE_INSTALL_XDEBUG=true
...
### PHP_FPM ###############################################
...
PHP_FPM_INSTALL_XDEBUG=true
...
```