Re: [請益] PDT中斷點的設定?

看板PHP作者 (amos)時間15年前 (2010/03/17 09:24), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串2/2 (看更多)
個人操作步驟設定: 1.下載 ZendDebugger-5.2.15-cygwin_nt-i386.zip。 2.解壓縮取得 5_2_x_comp/ZendDebugger.dll,置於 <PHP>/ext。 3. 於 php.ini 加上 [Zend] zend_extension_ts=<PHP>\ext\ZendDebugger.dll zend_debugger.allow_hosts="127.0.0.1" zend_debugger.expose_remotely=always 4.restart Apache 5.檢查是否安裝成功 php.exe -m [Zend Modules] Zend Debugger 6.PHP Script Debug PDT > Preferences > PHP > PHP Excutables > Add... Name: <whatever you like> Executable Path: <path to php.exe> PHP ini File: <path to php.ini> PHP Debugger: Zend Debugger or XDebug 7.PHP Page Debug 設定 PHP Excutable,同上,設過就不用再設。 PDT > Preferences > PHP > PHP Servers > New Name: <whatever you like> URL: http://localhost Next Add Path on Server: <path to web app> Path in Workspace: <path to php project> 8.設中斷點。 9.Debug As PHP Web Pag 10.沒反應失敗....... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.251.102.3

03/17 19:50, , 1F
一樣步驟測試ok,可能設錯大概都是7.的 path Mapping
03/17 19:50, 1F

03/17 22:33, , 2F
OK Thanks 大大 I will try again
03/17 22:33, 2F
文章代碼(AID): #1Be2z4rG (PHP)
文章代碼(AID): #1Be2z4rG (PHP)