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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
1. In your PhpStorm project, open the settings panel.
86
86
87
-
- _Mac OS X_—Select **File**>**Preferences**.
87
+
- _Mac OS X_—Select **PhpStorm**>**Preferences**.
88
88
- _Windows/Linux_—Select **File**>**Settings**.
89
89
90
-
1. In the _Settings_ panel, expand and locate the **Languages & Frameworks**>**PHP**>**Servers** section.
90
+
1. In the _Settings_ panel, expand and locate the **PHP**>**Servers** section.
91
91
92
92
1. Click the **+** to add a `PHP Remote Debug` server configuration. The project name is in grey at the top.
93
93
94
94
1. Configure the following settings for the new server configuration:
95
95
96
-
- **Name**—Enter the name used for the `serverName` option from `PHP_IDE_CONFIG` value.
96
+
- **Name**—Enter the name used for the `serverName` option from `PHP_IDE_CONFIG` value. By default, MCD use this value: `serverName=magento_cloud_docker`
97
97
- **Host**—Enter `localhost`.
98
98
- **Port**—Enter `80`.
99
99
- **Debugger**—Select `Xdebug`.
@@ -102,7 +102,7 @@ To configure PhpStorm to work with Xdebug:
102
102
103
103
1. In the **Absolute path on the server** column, click {:width="15px"} and add a value to the `MAGENTO_ROOT` option. The default value is `/app`
104
104
105
-
1. Change the Xdebug port to 9001 in the **Languages & Frameworks**>**PHP**>**Debug**>**Xdebug**>**Debug Port** panel.
105
+
1. Change the Xdebug port to 9001 in the **PHP**>**Debug**>**Xdebug**>**Debug Port** panel.
106
106
107
107
1. Click **Apply**.
108
108
@@ -135,7 +135,7 @@ To debug CLI commands:
135
135
- _Windows_—Select **TCP socket** and update **Engine Api Url** with `tcp://localhost:2375`.
136
136
- _Mac OS X_—Select **Docker for Mac**. [_default_]
137
137
138
-
1. In the **Languages & Frameworks**>**PHP**>**Cli Interpreter** panel, click **[...]**.
138
+
1. In the **PHP**>**Cli Interpreter** panel, click **[...]**.
139
139
140
140
1. Click **[+]** to add and configure a new Cli Interpreter from your Docker image. Update the following settings:
0 commit comments