2014-10-03 117 views
1

我已经为Symfony2安装了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

我的问题是,当我开始调试,它停在断点,我不能调试按钮做任何事情,即使我可以点击它。因此,我该如何解决这个问题?提前致谢!

回答

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

+0

我做到了,但结果是一样的。我使用了wamp服务器,NetBeans和我在Windows 7上工作。我真的不知道什么问题是......但是,谢谢! – Lackeeee 2014-10-07 08:17:01

+0

有什么建议吗? :) – Lackeeee 2014-11-10 15:44:07

相关问题