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:
- /full/path/to/php/bin/phpize
- ./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