Eclipse PHP Debug Environment configuration
? ? ? It took me a day to read a lot of writing, but it was all the same. And their own is not normal use.
?
? ? My environment is to use the Wamp one-click installation environment.
? ? Here I only note the place of attention:
? ?
?
?? One: After the downloaded Xdebug file is placed under Php/ext must be renamed to Php_xdebug.dll
?? Second:The port of xdebug.remote_port=9990 is consistent with eclipse.
???????? Add:57% questions
???????????? is the port best not, or then 9000, will not exist? Waiting for session ....
The third: must be configured Apache/bin/php.ini (because there is also a under PHP, but I do not configure there) file:
?????????? In addition to the following:
; Load xdebugzend_extension_ts= "D:/wamp/php/ext/php_xdebug.dll"; xdebug configuration [Xdebug]; turn on auto tracking xdebug.auto_trace = on; Turn on exception tracking xdebug.show_exception_trace = on; open remote Debugging auto start Xdebug.remote_autostart = on; Turn on remote debugging xdebug.remote_enable = on; Collect variable xdebug.collect_vars = on; collect return value Xdebug.collect_return = on; collect parameter xdebug.collect_params = onxdebug.remote_port= 9990xdebug.profiler_output_dir= "D:/wamp/php/log" ?