Phpstudy+phpstorm+debug

Source: Internet
Author: User
Tags naming convention

Article: Phpstudy+phpstorm+debug

First, the pre-configuration description:

1. Phpstudy integrates the xdebug extension, so there is no need to download xdebug separately.
2. Open Xdebug Extension: Other options menu > PHP extensions > Xdebug

Second, the configuration steps:

1. Phpstudy Current Version:

2. Modify the php.ini file:

[Xdebug]xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"Xdebug.trace_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"zend_extension="D:\phpStudy\PHPTutorial\php\php-5.6.27-nts\ext\php_xdebug.dll"xdebug.remote_enable=1Xdebug.remote_handler="DBGP"Xdebug.idekey=Phpstormxdebug.remote_host="127.0.0.1"Xdebug.remote_port=9000
Whether the Xdebug trace function call is allowed, the trace information is stored as a file, the default value is 0xdebug.auto_trace=1, and whether the Xdebug trace function parameter is allowed, the default value is 0xdebug.collect_params=1; Whether the Xdebug trace function return value is allowed, the default value is 0xdebug.collect_return=1; the function calls the trace information output file directory, the default value is/tmpxdebug.trace_output_dir = "D:\myworkvip\phpstudy\tmp\xdebug "; the location where the profiling file is stored, the default value is/tmpxdebug.profiler_output_dir =" D:\ MYWORKVIP\phpstudy\tmp\xdebug "; Open xdebug Performance Analyzer, stored as a file, this configuration cannot be configured with the Ini_set () function, the default value is 0xdebug.profiler_ Enable = 1; The naming convention for the profiling file, the default value is Cachegrind.out. %pxdebug.profiler_output_name = "cachegrind.out. %t.%p "xdebug.remote_enable = 1; application-layer communication protocol for Zend Studio remote Debugging Xdebug.remote_handler =" DBGP "Xdebug.idekey = Phpstormxdebug.remote_host = "127.0.0.1" Xdebug.remote_port = 9000         

3. Select PHP Version:

4. Debug Port:

5, Idekey:

6. Configuration:

7. Check the configuration:



Third, commissioning:

1, open the commissioning:

Phpstudy+phpstorm+debug

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.