亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

xdebug.remote_handler 在 PHP.INI 中設置,但未在 PHPinfo

xdebug.remote_handler 在 PHP.INI 中設置,但未在 PHPinfo

PHP
慕少森 2023-09-08 21:49:47
我正在嘗試讓 Xbdebug 與 NetBeans 一起運行,以便調試一些 PHP 代碼(我確信幾年前我已經讓它工作了,然后切換了 IDE,現在想切換回來)。當我嘗試調試時,狀態欄顯示而且,當它沒有在一個簡單echo('hello');文件的第一行上遇到斷點并且我停止調試時,它會顯示請注意,我的參數中有XDEBUG_SESSION_START=netbeans-xdebug,但我認為這不是問題(還)。相反,請查看上面有關 Xdebug 設置的消息。在我的 php.inin 文件中,我有[PHP]zend_extension=F:\DropBox\programs\xampp\php\ext\php_xdebug-2.9.6-7.4-vc15-x86_64.dll   xdebug.remote_enable=Onxdebug.remote_host=127.0.0.1xdebug.remote_handler=dbgp               <============== (arrow not in file, just shown here to help)xdebug.remote_port=9000xdebug.remote_autostart=1xdebug.remote_log=m:\xdebug.logxdebug.profiler_enable = 0;xdebug.profiler_enable_trigger = 0xdebug.profiler_output_dir=f:\DropBox\programs\xampp\htdocs\_PHP_profilexdebug.profiler_output_name=cachegrind.out.%s.%t但是,當我查看 PHPinfo 時,沒有設置xdebug.remote_handler- 知道為什么嗎?
查看完整描述

1 回答

?
慕神8447489

TA貢獻1780條經驗 獲得超1個贊

當我查看 PHPinfo 時,沒有 xdebug.remote_handler 設置 - 知道為什么嗎?

這是正常的。該xdebug.remote_handler選項已在 Xdebug 2.9.0 中刪除。在內部它現在總是等于 be dbgp

修復了錯誤 #1720:刪除多余的 xdebug.remote_handler 設置


查看完整回答
反對 回復 2023-09-08
  • 1 回答
  • 0 關注
  • 127 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號