4、配置php執行環境
(1)配置php本地run
1.開啟prefences→php→php executables→execution environments →add
2.開啟prefences→php→debug
3)配置php遠端debug環境
1.啟動wamp,開啟 php→php.ini 在結尾處加入 以下**
2.重啟wamp
;xdebug 的資料檔案目錄
xdebug.profiler_output_dir="d:/wamp/logs/xdebug-log"
;xdebug 的資料檔案目錄
xdebug.auto_trace = on ;開啟自動跟蹤
xdebug.show_exception_trace = on ;開啟異常跟蹤
xdebug.remote_autostart = on ;開啟遠端除錯自動啟動 off 關閉遠端debug可以將此項設定為off
xdebug.remote_enable = on ;開啟遠端除錯
xdebug.remote_handler=dbgp ;用於zend studio遠端除錯的應用層通訊協議
xdebug.remote_host=127.0
.0.1
;允許連線的zend studio的ip位址
xdebug.remote_port=9000
;反向連線zend studio使用的埠
xdebug.collect_vars = on ;收集變數
xdebug.collect_return = on ;收集返回值
xdebug.collect_params = on ;收集引數
xdebugbug.max_nesting_level = 10000
2.開啟prefences→php→debug→installed debuggers 選擇 xdebug
3.將測試test.php放在d:\wamp\www目錄下
在位址列輸入http://localhost/test.php eclipse中會產生斷點
說明:
eclipse在選擇工作空間的時候將工作空間直接選擇到wamp的www目錄下,
這樣更加方便。
Eclipse外掛程式安裝
如何手動安裝eclipse外掛程式呢?下面以tomcat外掛程式tomcatpluginv31beta的安裝為例來講解。1。首先把外掛程式解壓縮,例如解壓縮到d ec3.1plug ins tomcatpluginv31beta 2。開啟eclipse安裝檔案目錄下的links資料夾,例如d ecl...
Eclipse 外掛程式安裝
以下方法是個人整理筆記,方便自己記憶 查詢。講解請參考 eclipse 外掛程式安裝的四種方法 1.jar包 如果外掛程式是乙個jar包,那麼就直接將jar包複製貼上到 eclipse目錄下的子目錄plugins。例如editbox外掛程式的jar包檔案是 pm.eclipse.editbox 0....
Eclipse外掛程式安裝
通常網上搜到的eclipse外掛程式安裝有兩種方法 1 link方式 2 拷貝到eclipse home下的plugins目錄和features目錄 如果需要的話 其實,還有兩種方法 3 help software updates find and install 這種方式要求指定site目錄,目錄...