2014-10-03 119 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

相關問題