1. 程式人生 > >phpstorm開啟斷點調試

phpstorm開啟斷點調試

com spa 網頁 nbsp ext 點擊 storm amp 安裝

首先安裝xdebug擴展

https://xdebug.org/ 點擊下載然後在點擊自定義安裝說明

技術分享圖片

php有個phpinfo()函數,需要它在瀏覽器輸出然後查看網頁源代碼,全部復制粘貼

技術分享圖片

技術分享圖片

具體:

zend_extension = D:\xampp\php\ext\php_xdebug-2.6.1-7.0-vc14.dll
xdebug.remote_enable=1
xdebug.remote__handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000

技術分享圖片

技術分享圖片

選擇php Web Application

技術分享圖片

phpstorm開啟斷點調試