The Eclipse PHP debugging environment is equipped with

Source: Internet
Author: User
Tags php debug
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"   ?

  • 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.