Zendstudio9 配置安裝 zend debugger

Zendstudio9 配置安裝  zend debuggerphp

ZendDebugger-5.2.14-cygwin_nt-i386.zip下載地址 http://dl.dbank.com/c0bmg4px8j

1.      解壓ZendDebugger-5.2.14-cygwin_nt-i386.zipweb

2.      如下是壓縮包內全部文件的列表:
ZendDebugger-5.2.14RC9-cygwin_nt-i386/md5
ZendDebugger-5.2.14RC9-cygwin_nt-i386/Inventory.xml
ZendDebugger-5.2.14RC9-cygwin_nt-i386/4_3_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/4_3_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/4_4_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/4_4_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_0_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_0_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_1_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_1_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_nts_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_nts_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/dummy.php
ZendDebugger-5.2.14RC9-cygwin_nt-i386/README.txt
apache

3.      根據你的php版本選擇相應的文件 個人php5.2.6  因此我選擇ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_nts_comp,將此文件夾放入到你的D//Wamp文件夾裏面(爲了方便管理,個人server服務都是裝着文件裏面的),全路徑爲D//Wamp/ZendDebugger/5_2_x/ZendDebugger.dllspa

4.      將壓縮包中的dummy.php解壓到web根目錄,我這裏的apacheDocumentRoot設置在D:/Wamp/apache/htdocD:/www,就拷貝dummy.phpD:/Wamp/apache/htdocsD:/www,而後修改php.ini,加入了這些內容:debug

zend_extension_ts=D:/myserver/ZendDebugger/5_2_x/ZendDebugger.dll
 zend_debugger.allow_hosts=127.0.0.1/32,192.168.1.88/24
zend_debugger.expose_remotely=always
調試

5.     而後重啓apache,在略微的等待以後,咱們輸入phpinfo()查當作功與否?orm

出現這個圖的爲成功server

6,使用設置
爲了使用Zend Debugger,咱們首先須要打開Zend Studio,對Zend StudioDebug配置選項進行設置,步驟以下:對你的項目點擊右鍵->Properties,選擇左側PHP Debug選項xml

除了上述的設置方式,Zend Studio Debug還有另外一種設置方式,主要針對的是單個調試文件,方法以下,選擇菜單欄中的Run->Debug Configurations ,選擇PHP Web Page Debug調試方式下的調試頁面,右側Server面板中選擇Zend Debugger,你能夠點擊Test Debugger,若是Zend Debugger安裝成功,其會彈出Test Debuger Server Success對話框,即宣告Zend Debug Server鏈接成功ip


7使用

選擇菜單欄RUN中的Debug ASDebug URL進行調試,Zend StudioZend Debugger的調試界面和Xdebug相似,一樣能夠經過F11啓動調試會話,F5(單步調試),設置斷點等。

相關文章
相關標籤/搜索