![]() ![]() When you return to the previous interpreter dialog, you must set a local path to the docker-compose.yml file. Name the docker connection as you wish, select Unix socket if you use Linux as your OS, and press OK. Remote PHP interpreter configuration dialog If you don’t have a pre-filled Docker server, click the NEW… button in the upper right corner. The first step is creating a Docker connection. We need to set the interpreter from our docker-compose configuration file. In the CLI interpreters dialog, click on + in the upper left corner and choose to set PHP interpreter from Docker. To configure the CLI interpreter, press … (three dots) on the right side of the CLI interpreter line. On the right part of the dialog, you will see PHP project settings. In the Settings dialog, choose PHP on the left list. Open PhpStorm and go to the menu and open the Settings dialog. #activating Xdebug before each PHP request (helpful when debugging PHP execution from console)ĭon’t forget to restart the docker container after making changes in your local xdebug.ini file. #logging file for xdebug where we can see the details of xdebug execution or check if xdebug is not working correctly #setting the limit of how deep nesting/recurring requests can go #PHP IDE trigger key if set, for example, in request URL, it will trigger activation of xdebug #static IP address of the host machine from docker container for OsX and Windows use ![]() It's set to 0 because we are going to use the static IP address of the host IP running Docker. #If enabled, this setting will activate the discovery of the client's IP address. In version 3, you can specify multiple modes separated by comma ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |