XDEBUG configuration:
1. Install xdebug omitted. There is a lot of information online.
Focus on the configuration of php.ini
[XDebug]
Copy Code The code is as follows:
zend_extension="/usr/lib/php5/20090626+lfs/xdebug.so"
xdebug.default_enable = On
xdebug. collect_params = On
xdebug.remote_connect_back = On //If this is turned on, the following xdebug.remote_host parameters will be ignored.
PHPSTORM configuration:
1.file->settings->php|Debug right side. The xdebug piece. Set Debug port:9900 (What is set here is the port of the local machine through which the debug information spit out by xdebug is transmitted.)
2.file->settings->php|Servers on the right. Host: The domain name or IP and port of your web server. The following use path mapping means that the directory of your project corresponds to what directory on the server? It must be set here! Otherwise, an error will occur because the file cannot be found, causing debugging to terminate.
3.Run->Edit Configurations-> Add a debugging point for PHP WEB Application. On the right side: server selects the server you created above. starturl sets your entry file.
At this point, the configuration is complete!
For such a request, you can register a debugging client!
http://www.aihuxi.com/****.php?XDEBUG_SESSION_START=19192
Click on the little bug icon to start debugging!
http://www.bkjia.com/PHPjc/327681.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/327681.htmlTechArticleXDEBUG configuration: 1. Install xdebug. Omitted. There is a lot of information online. Focus on writing the configuration of php.ini [XDebug] Copy the code The code is as follows: zend_extension="/usr/lib/php5/20090626+lfs/xdebug.so"...