MAC+PHPSTORM+XAMPP Breakpoint Debugging

Source: Internet
Author: User

1. Download the Xdebug file

http://xdebug.org/wizard.php

Copy the source code for Phpinfo () to the text box, Xdebug will prompt you to configure and download which version of Xdebug.

All:

http://www.xdebug.org/download.php

Phpize and./configure Be sure to use the PHP corresponding phpize and php-config that you run

Reference: Xdebug official website: https://xdebug.org/docs/faq#custom-phpize

Q:How do I find which phpize?

A:run: "Phpize--help". This shows your full path to phpize. This path should is the same as where you have the CLI binary, "Php-config" and the "pear" and "pecl" binaries Install Ed. If you run "php-config--version" It should show the same version of PHP so you ' re running. If it doesn ' t match up, and perhaps the wrong "phpize" binary was found on the path, you can run configure as follows:

    1. /full/path/to/php/bin/phpize
    2. ./configure--with-php-config=/full/path/to/php/bin/php-config

The Mac comes with PHP, the command line under the Phpize is/usr/bin/phpize, and XAMPP in PHP corresponds to the phpize is/applications/xampp/xamppfiles/bin/phpize, and. Configure--with-php-config=/applications/xampp/xamppfiles/bin/php-config

MAC+PHPSTORM+XAMPP Breakpoint Debugging

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.