mac上的net beans调试器无法正常工作

时间:2016-02-21 00:44:41

标签: php macos netbeans mamp xdebug

我的mac上的net beans调试器无法正常工作,我不知道为什么。 这是我的MAMP上的php.ini文件。它位于我的php5.6.2。文件夹中。

[xdebug]
zend_extension="/Applications/MAMP/bin/php/php5.6.2/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so"
xdebug.default_enable=1

xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=8080
xdebug.remote_autostart=1

我的本​​地主机在端口8080上运行,所以这是我在netbeans首选项中所做的更改。

enter image description here 我不确定下一张图片是否应该具有该路径名,还是应该将其更改为我的项目文件夹所在文件的路径名? enter image description here

除此之外,当我运行调试器时,它显示

http://localhost/pocketAllowence/index.php?XDEBUG_SESSION_START=netbeans-xdebug

它没有显示localhost:8080,然后是其余部分。所以不知道如何解决它。

0 个答案:

没有答案
相关问题