|
|
[[_TOC_]]
|
|
|
|
|
|
# Configure Xdebug
|
|
|
|
|
|
## Install web browser xdebug activation:
|
|
|
- **Firefox** : https://github.com/lhall-amphibee/xdebug-ext
|
|
|
|
|
|
## Configure PhpStorm for Xdebug
|
|
|
|
|
|
1. Open PhpStorm preferences
|
|
|
2. Configure Xdebug to listen on port 9000
|
|
|

|
|
|
3. Configure Site mapping
|
|
|

|
|
|
|
|
|
# Configure Tools
|
|
|
|
|
|
## Configure Docker usage
|
|
|
|
|
|

|
|
|
|
|
|
Open PhpStorm preferences then :
|
|
|
1. Go to **Build, Execution, Deployment** section. Then go to **Docker** subsection
|
|
|
2. Create new docker
|
|
|
3. Rename this docker
|
|
|
4. Set connection type to Docker
|
|
|
5. configure path mapping between docker machine and local path
|
|
|
|
|
|
Configure Tool access to docker :
|
|
|

|
|
|
|
|
|
## Configure Tools for docker
|
|
|
|
|
|
### Configure Cli interpreter
|
|
|
|
|
|

|
|
|
|
|
|
1. Open PhpStorm Preferences, then go to section **PHP** then go to the subsection **Composer**.
|
|
|
2. Set path to `compser.json` file
|
|
|
3. Set Execution on remote docker
|
|
|
4. Set or create cli interpreter
|
|
|
1. To create cli interpreter cli on dots
|
|
|
2. Create new interpreter and configure as in the following image if you use :
|
|
|

|
|
|
|
|
|
### Create Cli interpreter
|
|
|
|