This has been landlord for the second time because of Phpstorm debugging configuration toss a few hours, this time must be written down!!!
one: Install JetBrains IDE support
ii: Install Xdebug Helper
three: (phpstorm Configuration) Configure the local server
four: php config xdebug
1. Create a new "phpinfo.php" file under the local Apache site with the following content:
<? PHP Echo Phpinfo ();
2. Visit 127.0.0.1:8080/phpinfo.php
3. Open the https://xdebug.org/wizard.php and paste the entire page copied in the previous step into the text box
4. The third step in the previous step is configured to note that opening the local Apache2.x\bin\php.ini modifies the [xdebug] section as Follows:
[xdebug] = "e:/wamp64/bin/php/php5.6.25/zend_ext/php_xdebug-2.4.1-5.6-vc11-x86_64.dll"; zend_extension = "E:\wamp64pro\bin\php\php5.6.25\ext\php_xdebug-2.5.0rc1-5.6-vc11-x86_64.dll" This is the latest version of the DLL that is recommended for me, But after testing, I found that I could not debug chrome (ps: \ with/without Effect)xdebug.remote_enable= 1= = = = "e:/ Wamp64/tmp "xdebug.show_local_vars=0
5. Check if the configuration is successful, access 1270.0.1:8080/phpinfo (), search for Xdebug A large sections note, is large sections!!
V: Phpstorm Configure PHP local server
six: Configure Phpstorm xdebug
seven: Commissioning for the specific project
okay, back to the text editor, right-click Debug
over!!
Phpstorm xdebug Debug Configuration Chrome