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

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

PhpStorm Xdebug 連接到客戶端但未停止

PhpStorm Xdebug 連接到客戶端但未停止

PHP
SMILET 2023-10-01 10:04:18
使用 Xdebug 的 PhpStorm 新項目開始出現奇怪的問題在 Docker 中使用與其他項目相同的配置運行 PHP,Xdebug 可以毫無問題地工作,經過無數次仔細檢查后,它們之間幾乎沒有區別,PhpStorm 配置完全相同。問題是一切看起來都正常,連接出現但沒有任何停止,我將此主題命名為與我在此處找到的完全相同的主題,劇透(它對我沒有幫助:( )還按照該主題中的建議啟用了日志記錄,這是一個會話的日志[13] Log opened at 2020-08-12 15:50:53[13] I: Connecting to configured address/port: 172.17.0.1:9000.[13] I: Connected to client. :-)[13] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/html/pub/index.php" language="PHP" xdebug:language_version="7.3.20" protocol_version="1.0" appid="13" idekey="PHPSTORM"><engine version="2.9.6"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2020 by Derick Rethans]]></copyright></init>[13] <- feature_set -i 1 -n show_hidden -v 1[13] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="show_hidden" success="1"></response>[13] <- feature_set -i 2 -n max_depth -v 1[13] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="max_depth" success="1"></response>[13] <- feature_set -i 3 -n max_children -v 100[13] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="max_children" success="1"></response>[13] <- feature_set -i 4 -n extended_properties -v 1[13] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" feature="extended_properties" success="1"></response>[13] <- feature_set -i 5 -n notify_ok -v 1[13] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="notify_ok" success="1"></response>正如這里所看到的,沒有任何錯誤的跡象,我們將不勝感激
查看完整描述

1 回答

?
九州編程

TA貢獻1785條經驗 獲得超4個贊

它表明 IDE 正在設置斷點:

breakpoint_set -i 9 -t line -f file:///var/ww/html/pub/index.php -n 13

但正在調試的文件是:

fileuri="file:///var/www/html/pub/index.php"

我認為您只是拼寫錯誤了 IDE 中的路徑映射,您在/var/ww其中使用了/var/www.


查看完整回答
反對 回復 2023-10-01
  • 1 回答
  • 0 關注
  • 121 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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