[PHP] Phpstudy+phpstorm+xdebug configuration

Source: Internet
Author: User
Tags naming convention

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:

Phpstudy Current Version: php5.5

Modify the php.ini file: This configuration is mainly phpstudy

; Comment out the original configuration; [Xdebug];xdebug. profiler_output_dir= "D:\myworkVIP\phpstudy\tmp\xdebug"; Xdebug. trace_output_dir= "D:\myworkVIP\phpstudy\tmp\xdebug"; Zend_extension= "D:\myworkVIP\phpstudy\php\php-5.5.38\ext\php_xdebug.dll"; Zend_extension= "D:\myworkVIP\phpstudybak\php\php-5.5.38\ext\php_xdebug.dll"; custom Xdebug[xdebug]zend_extension= "D:\myworkVIP\phpstudy\php\php-5.5.38\ext\php_xdebug.dll"whether or not to allow Xdebug trace function calls, trace information is stored as a file, the default value is 0xdebug. auto_trace=1; allow xdebug trace function parameter, default value is 0xdebug. Collect_params=1whether the Xdebug trace function return value is allowed, the default value is 0xdebug. collect_return=1; function call trace information output file directory, default value is/Tmpxdebug. Trace_output_dir = "D:\myworkVIP\phpstudy\tmp\xdebug"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; profiling file naming convention, 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

Other see the original link http://blog.csdn.net/zz_buddha/article/details/54096000;

[PHP] Phpstudy+phpstorm+xdebug configuration

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.