2012-07-17 34 views
0

我在使用Eclipse PHP(Helios)調試時遇到(x)問題。在我從Ubuntu 10升級到12之前,它工作正常,但現在不行。XDebug無法在Ubuntu上使用Eclipse PHP 12.04

我加入這個爲php.ini:

zend_extension=/usr/local/ioncube/ioncube_loader_lin_5_3.so 
xdebug.remote_enable=1 
xdebug.remote_handler=dbgp 
xdebug.remote_mode=req 
xdebug.remote_connect_back=1 
xdebug.remote_host=laptopname 
xdebug.remote_port=9000 
xdebug.remote_log=/var/log/xdebug.log 
xdebug.idekey="ECLIPSE_DBGP" 
extension=imap.so 

和Eclipse(的XDebug)的設置爲:

Debug Port : 9000 
Show super globals in variable view : ticked 
Max array depth : 7 
Max children : 100 
Use Multisession : ticked 
Accept remote session (JIT) : any 
Output Capture Settings : both copy 
DBGp Proxy Support : not ticked 

我很感激任何提示或建議。

回答

1

它看起來並不像你加載xdebug.so

zend_extension=/usr/local/ioncube/ioncube_loader_lin_5_3.so 

和下面一行是多餘的

xdebug.remote_host=laptopname 

,因爲你正在使用

xdebug.remote_connect_back=1