Phpstorm xdebug Debug Configuration Chrome

Source: Internet
Author: User
Tags phpinfo

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.