Php + phpStorm + xdebug configuration method, phpstormxdebug. Php + phpStorm + xdebug configuration method, phpstormxdebug1. download xdebug file xdebug. orgwizard. php copies the source code of phpinfo () to the text box. xdebug prompts you how to configure and Download php + phpStorm + xdebug, phpstormxdebug
1. download the xdebug file
Http://xdebug.org/wizard.php
Copy the source code of phpinfo () to the text box. xdebug prompts you how to configure and download the version of xdebug.
All:
Http://www.xdebug.org/download.php
2. configure php. ini and add it at the end.
[xdebug]zend_extension="php_xdebug-2.3.3-5.6-vc11.dll"xdebug.remote_enable = Onxdebug.remote_handler = "dbgp"xdebug.remote_host = "localhost"xdebug.remote_port = 9000xdebug.idekey = PHPSTROM
3. chrome xdebug configuration
Configure it as "phpStorm" in the IDE key"
Project address: https://github.com/mac-cain13/xdebug-helper-for-chrome
4. phpStorm configuration
Open phpStorm,
-Go to File> Settings> PHP> Servers. enter the server information here. set "name" to "localhost", "host" to "localhost", "port" to "80", and "debugger" to "XDebug ".
-Go to File> Settings> PHP> Debug. the XDebug tab is displayed. set port to 9000.
-Choose File> Settings> PHP> Debug> DBGp Proxy. set phpStorm as the IDE key, localhost as the host, and 80 as the port.
-Click OK to exit the settings.
5. other configurations:
Enable the listener (phone button) in phpStorm ).
Restart apache, such as using the command line: net stop apache24 & net start apache24;
Check whether xdebug is correctly configured: go to the php.exe Directory: execute php.exe-m to view related modules.
Related files:
Http://pan.baidu.com/share/link? Consumer id = 1091659896 & uk = 3829305083
Http://pan.baidu.com/share/link? Consumer id = 1099541549 & uk = 3829305083
Download xdebug file http://xdebug.org/wizard.php copy the source code of phpinfo () to the text box, xdebug will prompt how to configure and download...