duan2477 2018-06-28 09:34
浏览 53

在mac OS HighSierra上使用Xdebug调试php

I used https://xdebug.org/wizard.php to check my Xdebug status that I installed using below instruction.

But it's seems not working. I tried with NetBeans Xdebug / Sublime Xdebug Clinets and also PHPStrome, but php files are not hit the debug point.

When I check the php content with I used https://xdebug.org/wizard.php it's also displayed

Xdebug installed : no

Bu I have successfully run all commands and copied the file into xammp's extentions folder.

php.ini conetnt:

;zend_extension=opcache.so
zend_extension="/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so"
[xdebug]
xdebug.remote_host=localhost
xdebug.remote_port=9001
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.idekey="netbeans-xdebug"
xdebug.remote_log="/Applications/XAMPP/logs/xdebug.log"

enter image description here

Tried list:

enter image description here

  • 写回答

1条回答

  • dongpei3245 2018-08-19 12:22
    关注

    Had problem with permissions, the system didn't let my install xdebug, so I ended up installing another php instead of using the built-in one:

    Try this article

    评论

报告相同问题?

悬赏问题

  • ¥15 Qt下使用tcp获取数据的详细操作
  • ¥15 idea右下角设置编码是灰色的
  • ¥15 全志H618ROM新增分区
  • ¥15 在grasshopper里DrawViewportWires更改预览后,禁用电池仍然显示
  • ¥15 NAO机器人的录音程序保存问题
  • ¥15 C#读写EXCEL文件,不同编译
  • ¥15 MapReduce结果输出到HBase,一直连接不上MySQL
  • ¥15 扩散模型sd.webui使用时报错“Nonetype”
  • ¥15 stm32流水灯+呼吸灯+外部中断按键
  • ¥15 将二维数组,按照假设的规定,如0/1/0 == "4",把对应列位置写成一个字符并打印输出该字符