[英]Visual Studio Code debugger not launching browser window or displaying variables
我正在 Visual Studio Code 中運行調試 session。 我原以為會發生兩件事,但沒有發生。 在我啟動“運行和調試”時打開瀏覽器 window。 查看變量列表及其值。 首先,我下載了 Xdebug 擴展。 接下來,我在我的 php 文件上設置了一個斷點。 最后,我單擊了“運行和 ...
[英]Visual Studio Code debugger not launching browser window or displaying variables
我正在 Visual Studio Code 中運行調試 session。 我原以為會發生兩件事,但沒有發生。 在我啟動“運行和調試”時打開瀏覽器 window。 查看變量列表及其值。 首先,我下載了 Xdebug 擴展。 接下來,我在我的 php 文件上設置了一個斷點。 最后,我單擊了“運行和 ...
[英]Xdebug: Warning: Failed loading Zend extension 'xdebug'
我在 windows 上安裝 xdebug 時遇到問題。我按照 xdebug 向導的說明進行操作,但它一直給我警告警告:加載 Zend 擴展 'xdebug' 失敗(已嘗試:C:/laragon/bin/php/php-8.2.1-nts-Win32-vs16-x64/ext\xdebug(Impo ...
[英]Xdebug 3 : can't get HTML formatted errors to enable
我正在使用 nginx 運行 php8.2-fpm。phpinfo phpinfo()確認 Xdebug 正在正確加載到 PHP。 顯示錯誤但沒有格式化。 附上示例圖片。 對 php.ini 的編輯顯示我可以正確修改/啟用 html_errors。 我啟用xdebug.mode = develop ...
[英]Install Xdebug for PHP 7.4 on M1 Apple
我想用 M1 在我的 Mac 上安裝 Xdebug。 由於我參加的項目,我使用 PHP 7.4.32。 我無法切換 PHP 版本。 當我嘗試安裝 Xdebug 時,它說我的 PHP 版本必須更新到 8.0.0,但我仍然想使用 7.4.32。 當前的 PHP 版本是用 homewbrew 安裝的。 ...
[英]Xdebug PHP. What are the optimal settings? Mine is dead slow
這是一個古老的問題。 我正在爬行。 現在是 2023 年,是的,我在這里和 inte.net 上的其他地方閱讀了大量與此問題相關的帖子。 我使用 Xdebug 進行開發很重要。 這真的很令人擔憂,因為一項需要半天才能完成的工作現在已經進行到第五天了。 我有這些設置;;[xdebug] ;zend_e ...
[英]PhpStorm can't properly connect with Xdebug after `brew services restart shivammathur/php/php@7.0`?
我安裝了 PhpStorm 2022.3.1 RC。 我用 brew 安裝了 Xdebug 2.7.2。 我用 brew 安裝了 PHP 7.0.33_6。 運行brew services restart shivammathur/php/php@7.0后出現問題。 PHP 有效並且 Xdebu ...
[英]Is there a workaround when Xdebug returns a 404 Not Found error when downloading a dll?
在粘貼 (8.0.26) 的 php 信息詳細信息后,我運行了 xdebug 向導,在它進行分析后,它指示我 “下載 php_xdebug-3.2.0-8.0-vs16.dll” 當我單擊鏈接時,我收到一個空白頁面,其中包含 404 Not Found 錯誤消息。 有沒有其他地方可以找到這個 DL ...
[英]Can't debug with Xdebug 2.7 and PHP 7.0 on my new Apple M2?
我已經用 brew 安裝了 php8,然后我發現由於遺留代碼,所需的版本應該是 7.0。 我已經安裝了 php7。PHP 7.0.33 (cli) (built: Dec 12 2022 12:20:53) ( NTS ) Copyright (c) 1997-2017 The PHP Group ...
[英]Setup Xdebug for Shopware docker failed
我嘗試為shopware-docker設置Xdebug但沒有成功。 VHOST_[FOLDER_NAME_UPPER_CASE]_IMAGE=ghcr.io/shyim/shopware-docker/6/nginx:php74-xdebug 替換文件夾名稱並運行swdc up應該激活 Xdebug ...
[英]Xdebug is started in the debug console but not working?
盡管phpinfo()顯示 Xdebug 部分並且在 VS Code 中顯示紅點和控制面板,但 Xdebug 不工作。 調試控制台也已啟動。 我試過重新安裝它。 我刪除了 Apache 並安裝了 XAMPP,然后在那里安裝了 Xdebug。 ...
[英]PHP / How to use remote debugger on remote Docker container
我正在做一個項目,文件存儲在遠程服務器上,這個項目在 Docker 上運行。 我正在嘗試在 PhpStorm 中啟用 Xdebug,但無法正常工作。 第一個問題是我無法訪問遠程 PHP Docker 容器中的 PHP 可執行文件。 澄清一下:我的 PhpStorm IDE 在我的語言環境機器上,而我 ...
[英]Xdebug is having trouble running on WSL Symfony server using PhpStorm
我在 Debian Windows 子系統 Linux 上運行帶有 PHP7.3.33 和 Xdebug 3.1.5 的 Symfony 服務器。 我在我的 Windows 上使用 PhpStorm 進行編碼,我還想使用它通過 Xdebug 進行調試。 我在我的服務器上配置我的 Xdebug 時遇到 ...
[英]Why Xdebug install fails in php 5.6 Dockerfile?
我是 Docker 的新手,並且有一個項目要維護,該項目是用 php 5.6 開發的。 我需要將 xdebug 添加到容器中以便使用 VSCODE 進行調試。 這是我的 Dockerfile 當我跑步時; 我明白了; 我嘗試了不同版本的 Xdebug,但沒有成功。 誰能指出我解決問題的正確方向? ...
[英]Error installing Xdebug via pecl on Mac - Unable to create temp directory
在 Mac Monterey 上,在嘗試通過xdebug安裝pecl時,Homebrew 現在要求這樣做,但出現以下錯誤: 我曾嘗試在/private/tmp中使用chmod更改 perms,但這沒有區別。 我已經驗證 XCode 命令行工具已安裝並且是最新的,我已經完全卸載 - 包括在卸載后手動刪 ...
[英]Can't install Xdebug on PHP
嘗試安裝 Xdebug,以便我可以使用 VS Code 調試 PHP,按照頁面的說明逐步進行,參考Xdebug 向導。 下載php_xdebug-3.1.6-8.1-vs16-x86_64.dll 將下載的文件移動到\xampp\php\ext ,重命名為php_xdebug.dll 更新C:\x ...
[英]Debug Yii 1.1 using VSCode and Docker
我想問一下調試Yii 1.1的應用。 我已經嘗試在 StackOverflow 和其他網站上實現答案,但我的 VSCode 仍然無法調試應用程序,根本無法讀取已設置的斷點。 我正在使用 Docker 來運行 Yii。 這是我使用的文件的詳細信息。 docker-compose.ymlversio ...
[英]Attempting to install XDebug in Visual Studio Code
我正在嘗試在 Visual Studio Code 中安裝和運行 XDebug。 模塊已安裝,但是當我 select“運行”然后“開始調試”,然后 select 可用調試器框中的 select 'php xdebug' 時,我收到以下錯誤消息: 無法激活“PHP Xdebug”擴展,因為它依賴於未 ...
[英]Xdebug 3.1.6 doesn't work with PHP 7.4.30 on Windows 10 with XAMPP
我有 Windows 10 和 XAMPP、PHP 7.4.30 和 Xdebug 3.1.6 命令xdebug_info(); 發送給我這個錯誤: 我無法解決問題。 ...
[英]How to debug PHP using VSCode IDE in Ubuntu
我需要使用 VS Code IDE 調試 PHP 代碼。我們可以使用Xdebug調試 PHP。 所以我嘗試了很多來設置 Xdebug 進行調試,但我未能使用 VS Code IDE 使用 Xdebug。 請幫助我如何調試。 ...
[英]How do I configure Xdebug for browser usage in Laravel Sail?
我使用 WSL + Docker Desktop 使用 Laravel Sail 創建了一個新的 Laravel 項目; 一切順利。 我想為瀏覽器使用設置 Xdebug,但我無法讓它工作。 如何在 Laravel Sail 中配置 Xdebug 以供瀏覽器使用? 我嘗試了一些解決方案,但對我沒有任 ...