PHP Xdebug Debugging extension installation and use. _php Tutorial

Source: Internet
Author: User
Xdebug Installation

When downloading the xdebug extension, note that the Xdebug version corresponds to the PHP version, otherwise there will be unnecessary trouble!

I am using PHP5.2.5, download the Xdebug file named: Php_xdebug-2.0.3-5.2.5.dll, put the file in the Php/ext folder can be

3. Configuration

Xdebug Configuration

Open php.ini

Add the following configuration code to the last line, and the configuration instructions are already commented


; Load into Xdebug
Zend_extension_ts= "C:/php/ext/php_xdebug-2.0.4-5.2.8.dll"


If you use a relative path, you can write this


; extension= "Php_xdebug-2.0.4-5.2.8.dll"


; Xdebug Configuration
[Xdebug]
; Turn on auto-tracking
Xdebug.auto_trace = On
; Turn on exception tracking
Xdebug.show_exception_trace = On
; Turn on remote debugging auto-start
Xdebug.remote_autostart = On
; Turn on remote debugging
Xdebug.remote_enable = On
; Collecting variables
Xdebug.collect_vars = On
; Collect return values
Xdebug.collect_return = On
; Collect parameters
Xdebug.collect_params = On

Finally, I wrote it in PHP.ini.


[Zend]
Zend_extension_manager.optimizer_ts= "f:\ServerCore\lib\Optimizer-3.3.0"
; zend_extension_ts= "F:\ServerCore\lib\ZendExtensionManager.dll"
Zend_extension_ts= "F:\ServerCore\PHP5\ext\php_xdebug-2.0.4-5.2.8.dll"
The other way is not very good.

http://www.bkjia.com/PHPjc/321520.html www.bkjia.com true http://www.bkjia.com/PHPjc/321520.html techarticle xdebug installation Download Xdebug extension Note that the Xdebug version corresponds to the PHP version, or there is no need for trouble! I am using PHP5.2.5, the download of the Xdebug file name is: ...

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