XAMPP combination of chrome and Eclipse debug PHP configuration steps

Source: Internet
Author: User
Tags php debug
XAMPP configuration steps for debugging PHP with Chrome and eclipse
1. After installing XAMPP, open the php.ini file, cancel the last [XDebug] comment, pay special attention to the meta-debugging function: xdebug.remote_enable = 1, restart XAMPP Apache service.



2. Install the PHP debug plugin for Chrone browser: Xdebug heler.


3. Set PHP excutables in Eclipse-php-helios-sr2-win32 Preferences, point to the PHP installation path in Xampp, and select Xdebug as the debugger.




4. Select Xdebug at Debug, and PHP excutables Select the execution environment set up in the previous step. Configuration installed Debugger inside the Xdebug, be sure to

Set the Accept remote session to Loaclhost or any, otherwise eclipse will not stop at the breakpoint.





5. Set breakpoints in Eclipse and start debugging in the Chrone browser.







Precautions

    • When you start debugging in Chrome, you need to select Debug mode

    • If you do not need each breakpoint to stay on the first line, you can cancel the "stop in first row" option.



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