Aug 26, 2021
0
Level 4
Sail and Xdebug
I created a new project with Laravel Sail and WSL2 on Windows 10. Installation went rather smoothly, but every time I run some commands within Sail, I get the following message.
Xdebug: [Config] Invalid mode 'false' set for 'XDEBUG_MODE' environment variable, fall back to 'xdebug.mode' configuration setting (See: https://xdebug.org/docs/errors#CFG-C-ENVMODE)
e.g.
$ ./vendor/bin/sail php -v
Xdebug: [Config] Invalid mode 'false' set for 'XDEBUG_MODE' environment variable, fall back to 'xdebug.mode' configuration setting (See: https://xdebug.org/docs/errors#CFG-C-ENVMODE)
PHP 8.0.9 (cli) (built: Jul 30 2021 13:04:16) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.9, Copyright (c) Zend Technologies
with Zend OPcache v8.0.9, Copyright (c), by Zend Technologies
with Xdebug v3.0.4, Copyright (c) 2002-2021, by Derick Rethans
It seems that it works fine as I am not using Xdebug, but seeing the same message all the time makes me uncomfortable...
Please or to participate in this conversation.