mac+phpstorm+xampp斷點調試

來源:互聯網
上載者:User

標籤:binary   文字框   ica   斷點調試   phpize   nbsp   running   strong   下載   

1.下載xdebug檔案

http://xdebug.org/wizard.php

將phpinfo()的原始碼複製到文字框中,xdebug會提示如何配置和下載哪個版本的xdebug。

全部:

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

phpize和./configure一定要使用你啟動並執行php對應的phpize和php-config

參考:xdebug官網:https://xdebug.org/docs/faq#custom-phpize

Q: How do I find which phpize to use?

A: Run: "phpize --help". This shows you the full path to phpize. This path should be the same as where you have the CLI binary, "php-config" and the "pear" and "pecl" binaries installed. If you run "php-config --version" it should show the same version of PHP that you‘re running. If it doesn‘t match up, and perhaps the wrong "phpize" binary is 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

mac下內建php,命令列下的phpize是/usr/bin/phpize,而xampp中php對應的phpize是/Applications/XAMPP/xamppfiles/bin/phpize,且./configure --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config

mac+phpstorm+xampp斷點調試

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.