Xdebug探查器仅适用于localhost

时间:2012-03-02 14:57:39

标签: php zend-framework xdebug

我正试图在osx上使用xdebug profiler。我已经设置好了,但它只适用于localhost。即http://localhost/foo/bar.php

我在vhost上有一个Zend Framework应用程序,但没有从中收集任何配置文件数据。

我的php.ini看起来像:

[xdebug]
xdebug.idekey=netbeans-xdebug
xdebug.remote_enable= On
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.var_display_max_children = 999
xdebug.var_display_max_data = 99999
xdebug.var_display_max_depth = 100

xdebug.profiler_enable = 1
xdebug.profiler_output_name = "cachegrind.out.%t-%s"

1 个答案:

答案 0 :(得分:1)

Xdebug会做任何php.ini告诉它做的事情。如果没有配置,Xdebug将不会进行配置。它并不关心它是哪个VHOST。因此,您可能遇到配置问题。

相关问题