Symfony2 XDebug在断点处停止,无法使用调试按钮执行任何操作

时间:2014-10-03 15:10:45

标签: php symfony xdebug

我已经为Symfony2安装了XDebug。

我用:

编辑php-> php.ini
zend_extension = "c:/wamp/bin/php/php5.5.12/ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
;
[xdebug]
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp

和apache-> php.ini:

zend_extension = "c:/wamp/bin/php/php5.5.12/ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
;
[xdebug]
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.max_nesting_level = 10000

我的运行配置是:
项目网址: http://localhost/testing/web/app_dev.php 调试网址: Ask Every Time

路径映射: 服务器路径: C:/wamp/www/testing 项目路径: C:\wamp\www\Testing\src\Acme\LogInSystemBundle

我的问题是,当我开始调试时,它会在断点处停止,我无法对调试按钮执行任何操作,即使我可以单击它。因此,我该如何解决这个问题呢?提前谢谢!

1 个答案:

答案 0 :(得分:0)

在wamp / bin / php / php_xxx /我有一个名为“zend_ext”的文件夹。我的php.ini有一行:

zend_extension =“c:/wamp/bin/php/php5.4.12/zend_ext/php_xdebug-2.2.3-5.4-vc9-x86_64.dll”

也许你应该看看这个页面 http://wiki.netbeans.org/HowToConfigureXDebug#How_to_configure_xdebug_with_WAMP