Re: [請益] PDT中斷點的設定?
個人操作步驟設定:
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
03/17 19:50, 1F
→
03/17 22:33, , 2F
03/17 22:33, 2F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
0
4
PHP 近期熱門文章
PTT數位生活區 即時熱門文章