Skip to content

Commit f1942c0

Browse files
authored
Merge pull request #8 from ModestCoders/update-debug-docu-2
Update debug docu 2
2 parents d1125bd + 33dd972 commit f1942c0

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,18 @@ See detailed documentation about development workflow with dockergento
213213

214214
* [Docker Images List](docs/docker_images.md)
215215

216+
## Troubleshooting
217+
218+
### Named volumes suddenly binded to host
219+
220+
There is bug in docker that causes volumes to stop working and start behabing like a binded mount. If you notice a performance decrease, try the following:
221+
222+
* `dockergento volumes-check`
223+
224+
In case of confirmation that volumes are broken, restart dockergento
225+
226+
* `dockergento restart`
227+
216228
## ChangeLog
217229

218230
* [CHANGELOG.md](CHANGELOG.md)

docs/img/interpreter_phpfpm_image.png

-395 Bytes
Loading

docs/xdebug_phpstorm.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,21 @@
3131

3232
![debug_port](img/debug_port.png)
3333

34-
4. `PHPStorm > Preferences > Languages & Frameworks > PHP > Debug > DBGp Proxy`
35-
36-
* Host must match with the `REMOTE_HOST_IP` set on the [Xdebug configuration](xdebug.md)
37-
38-
![debug_dbgp](img/debug_dbgp.png)
39-
40-
5. `PHPStorm > Preferences > Languages & Frameworks > PHP > Servers`
34+
4. `PHPStorm > Preferences > Languages & Frameworks > PHP > Servers`
4135

4236
* Name: `localhost` (Same as `PHP_IDE_CONFIG` in `docker-compose.yml`)
4337
* Port: 8000
4438
* Mapping: `/Users/<username>/Sites/<project> -> /var/www/html`
4539

4640
![debug_server_mapping](img/debug_server_mapping.png)
4741

48-
6. Start Listening for PHP Debug connections
42+
5. Start Listening for PHP Debug connections
4943

5044
**NOTE**: Be sure to activate that only after setting the right debug port. Changes in Debug port are ignored once the listener has started.
5145

5246
![PHPStorm Debug Listener](img/phpstorm_debug_listener.png)
5347

54-
55-
7. Install and enable `Xdebug helper` plugin in Chrome
48+
6. Install and enable `Xdebug helper` plugin in Chrome
5649

5750
* [https://chrome.google.com/webstore/detail/xdebug-helper](https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc)
5851

0 commit comments

Comments
 (0)