Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strange error when PhpStorm's xdebug listener is enabled

Only one page has this error

is_readable(): Unable to find the wrapper "xdebug" - did you forget to enable it when you configured PHP?

Other pages work correctly with xdebug enabled and the listener turned on in PhpStorm.

If the xdebug listener is disabled in PhpStorm, the problem doesn't happen.

like image 381
Viktor Kulikov Avatar asked Oct 18 '25 08:10

Viktor Kulikov


1 Answers

Check your IDE watch expressions. I had watch on "$ex->getMessage()" that was causing a method call on null object and it broke execution only when xdebug was used. Very annoying, very hard to catch.

like image 198
Andre Tannus Avatar answered Oct 19 '25 22:10

Andre Tannus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!