PHPstudy + phpstrom +xdebug 斷點調試(windows) - CSDN部落格

來源:互聯網
上載者:User

標籤: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部落格

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.