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