laradock部屬 xdebug 修正 Could not connect to debugging client. Tried: host.docker.internal:9003問題
問題 使用laradock部屬啟動xdebug發現不斷跳出錯誤: Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (through xdebug.client_host/xdebug.client_port) :-( 始終不知道問題出在哪 解法 修改檔案 /etc/php/8.1/cli/conf.d/xdebug.ini (因設定有可能路徑不同) xdebug.mode=off 修改為 xdebug.mode=debug