Xdebug "not installed" but works fine with sites

I am using MacOS 13,  Laravel Valet (uses Nginx, dnsmsq, php 8.1).  I have 2 sites using PHPStorm 2022.2.3.  Storm reports that there is no debugger installed. But I am happily using Xdebug.

Why is Storm showing that Xdebug is not installed, when it is clearly working fine? 

Php - v says it has Xdebug :

vincejacobs@Vinces-MacBook-Pro KidsClub % php -v
PHP 8.1.3 (cli) (built: Feb 28 2022 07:27:37) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.3, Copyright (c) Zend Technologies
    with Xdebug v3.1.4, Copyright (c) 2002-2022, by Derick Rethans
    with Zend OPcache v8.1.3, Copyright (c), by Zend Technologies
vincejacobs@Vinces-MacBook-Pro KidsClub % 

Additionally, Xdebug is showing up in my PHP info file. 

My php.ini file has these attributes: 

zend_extension="/opt/homebrew/lib/php/pecl/20210902/xdebug.so"
xdebug.mode="debug"
xdebug.client_host=127.0.0.1
xdebug.client_port=9003
xdebug.idekey=PHPSTORM

 

 

 

 

评论操作 固定链接

Could you please show a screenshot from the specific PHP CLI Interpreter configuration?

Is there any chance that you have anything added to the "Debugger extension" field?

0
评论操作 固定链接

HI Vasiliy! Hope you had a good time in Dubai!

II did try adding the debugger path in the debugger extension field however it did not fix the problem, so I put the path back into the php.ini field.
 
Here is the screen shot you requested, Cheers Vince 
 
 
 
 
0
评论操作 固定链接

Hi Vince,
Thank you for sharing the screenshot.

Usually, there is no need to specify anything in the "Configuration file" field, have you already tried to leave it empty?
Also, could you please click on the (...), what other configuration files would the IDE show?


I was in Beirut not Dubai but I had a good time for sure, thanks! :)

0

请先登录再写评论。