phpstorm配置Xdebug

1. Download the xdebug plugin: https://xdebug.org/download.php

 

2. View your own php information , (phpinfo() can be ) , the following interface appears and then click to view the source code of the webpage

 

3. Paste the code into the input box of the jumped page shown in the first step

 

4. Then drop down and click the following button

 

5. As shown in the picture, click to download

 

6. Move the downloaded file to the directory as shown in the figure (each person's installation is different, so the moving directory is different)

 

 

7.  Modify the content of php.ini and add the following information at the end

 

8.  Restart the server and view the phpinfo() information

 

 

 

two. Configure in phpstorm

1.  (First check whether your port number is the same as the one configured in your php.ini )

 

2.  Configure the version, phpstorm does not recognize the php version

 

 

3. Continue to setup

 

 

4. Continue setup

 

 

 

 

 

5. Be careful in this step (it took an hour, and the mentality almost collapsed)

 

 

 

 

 

 

 

6. Continue to setup

 

 

 

7. Done

 

8. Refresh the page, success

 

 

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325852699&siteId=291194637