Phpstorm + Xdebug + Chrome Xdebug Help

Source: Internet
Author: User
First, configure the Php+xdebug

In the php.ini file plus

[xdebug]zend_extension = "D:\xampp\php\ext\php_xdebug.dll"//xdebug Dynamic library file path Xdebug.profiler_append = 0xdebug.profiler _enable = 1xdebug.remote_enable = On

Second, phpstorm configuration

1. Configure PHP

2. Configure Debug

Third, Chrome Xdebug help

1. Install Chrome Extensions Xdebug Helper. (need to turn over the wall)

2. Enter the configuration option for Xdebug Hepler, and select IDE key as Phpstorm.

3. Open your phpstorm and set a test breakpoint and turn on the upper-right monitor button.

4, and then in Google Browser access, the extension is adjusted to debug mode,

5. Refresh your previous page and you will find a dialog box and start debugging. Select the path to the main page portal file you are debugging

6, the final effect. You can debug your code to the fullest.



It's such a simple operation that you need to open Chrome's extension Xdebug set to debug so you can debug your page at any time.

Feel good classmate more praise ha! If you have any questions, leave a message.

  • Related Article

    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.