Documentation: Xdebug for PHPStorm

This commit is contained in:
cytopia 2018-04-11 08:25:50 +02:00
parent a23b23b774
commit 2b1dc0efc2
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
4 changed files with 14 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

View File

@ -274,7 +274,20 @@ PHPStorm
Linux
^^^^^^
.. todo:: Help needed. Please provide your config.
Enable Xdebug for the port set in ``xdebug.ini``:
.. image:: /_static/img/tutorials/xdebug_phpstorm_settings.png
Create a new PHP server and set a path mapping. This tutorial assumes your local Devilbox projects
to be in ``./data/www`` of the Devilbox git directory:
.. image:: /_static/img/tutorials/xdebug_phpstorm_path_mapping.png
Set DBGp proxy settings:
.. image:: /_static/img/tutorials/xdebug_phpstorm_proxy.png
MacOS (Docker for Mac)
^^^^^^^^^^^^^^^^^^^^^^