Phpstrom commissioning, supported by Xdebug

Source: Internet
Author: User

I. What needs to be added to the php.ini

The various addresses inside, according to the actual environment and needs to modify

[xdebug]zend_extension= "D:\phpStudy\php\php-7.1.12-x86\ext\php_xdebug-2.5.5-7.1-vc14.dll"; Whether to turn on remote debugging xdebug.remote_enable = ON, whether to turn on remote debugging auto-Start Xdebug.remote_autostart = 1; Allow debug client ipxdebug.remote_host=127.0.0.1; Whether to turn on debug content xdebug.profiler_enable = 0xdebug.profiler_enable_trigger = 0xdebug.profiler_output_name = cachegrind.out.%t. %p; debug output path xdebug.profiler_output_dir= "D:\phpStudy\tmp\xdebug" xdebug.show_local_vars=0xdebug.auto_trace = on; Trace output Path xdebug.trace_output_dir= "D:\phpStudy\tmp\xdebug"
Second, if the above configuration information is added to the system path in the PHP environment, you can debug PHP script three, add to the local Web environment, Debugging PHP Web page
 

Phpstrom commissioning, supported by Xdebug

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.