Xdebug version Download
http://www.xdebug.com/download.php
Note that when downloading xdebug we have to look at our PHP version of the same as Xdebug, and to see if your PHP is thread-safe or non-linear program safe, otherwise you can not use OH.
Download good Php_xdebug.dll After we copy to your PHP ext directory, such as
D:/phpstudy/php5/ext/php_xdebug.dll
This is my local, put the php.ini file to modify, add the following code
| code is as follows |
copy code |
| [Xdebug] zend_extension= "D:/phpstudy/php5/ext/php_xdebug.dll" Xdebug.collect_return=1 Xdebug.show_mem_delta=1 Xdebug.show_exception_trace=1 xdebug.idekey= "Phpstorm" xdebug.remote_enable=1 xdebug.remote_host= localhost xdebug.remote_port=9000 xdebug.auto_trace=0 error tracking prompt 0 closes, 1 opens xdebug.trace_output_name=% S.trace.log xdebug.trace_output_dir= "E:/xdebug/trace" xdebug.profiler_enable=0 Xdebug.profiler_output _name=%s.profiler.log xdebug.profiler_output_dir= "E:/xdebug/profiler" |
Okay, the last step is to restart Apache. Oh, and then we'll check to see if the Xdebug configuration was successful, and we tested the phpinfo in a PHP ()
If you can see with Xdebug v2.2.5, Copyright (c) 2002-2014 in the screenshot, by Derick Rethans
The code worked.
Now we're going to test a piece of code
Are you telling us the wrong information in great detail?