標籤:xdebug inf ati 127.0.0.1 資訊 detail file 連接埠號碼 ref
原文:PHPstudy + phpstrom +xdebug 斷點調試(windows) - CSDN部落格
php.ini 配置 需要添加如下內容[XDebug]
xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug"xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"zend_extension="D:\phpStudy\php\php-5.6.27-nts\ext\php_xdebug.dll";zend_extension = D:\phpStudy\php\php-5.6.27-nts\ext\php_xdebug-2.5.1-5.6-vc11-x86_64.dllxdebug.remote_enable =1xdebug.remote_handler = "dbgp"xdebug.idekey = PHPSTORMxdebug.remote_host = "127.0.0.1"xdebug.remote_port = 9000
php languagel level: 這個是PHP的版本
cli interpreler 選擇PHP的檔案所在位置,最後選擇為php-cgi.exe 檔
原有的設定檔不變,主要看Debug port 連接埠號碼,要與PHPinfo 裡的xdebug port連接埠號碼一致
Ied key : 這裡要查看phpinfo裡的xdebug 的key是什麼,要寫的一致
host:你的訪問網域名稱或者 localhost
port:你項目的連接埠是多少就寫多少
Name:這個寫個名字就好
host:我這裡寫的是項目的訪問路徑
prot:項目的連接埠
debugger:選擇xdebug
name:隨便寫個名字
server:選擇你剛才建立的那個項目
輸出這個的調試資訊,證明配置成功!祝各位小夥伴配置成功,遇到問題,歡迎留言
PHPstudy + phpstrom +xdebug 斷點調試(windows) - CSDN部落格