[英]XDebug doesn't work with Eclipse PHP on Ubuntu 12.04
我在Eclipse PHP(Helios)上進行(x)調試時遇到問題。 在我從Ubuntu 10升級到12之前,它運行良好,但是現在不行了。
我將此添加到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
感謝您的提示或建議。
看起來好像您正在加載xdebug.so
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5_3.so
並且以下行是多余的
xdebug.remote_host=laptopname
因為,您正在使用
xdebug.remote_connect_back=1
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.