I don't want to disable Xdebug
, I don't care that it's slower, so I see there is an environment variable COMPOSER_DISABLE_XDEBUG_WARN
and the docs mention setting it in the config.
So, I opened my global /Users/username/.composer/config.json
and add:
{
"config": {
"COMPOSER_DISABLE_XDEBUG_WARN": true
}
}
No change.
Where or how do I set this environment variable to get rid of this damn message?
On the Windows taskbar, right-click the Windows icon and select System. In the Settings window, under Related Settings, click Advanced system settings. On the Advanced tab, click Environment Variables. Click New to create a new environment variable.
The PHP CLI inherits the environment variables from your shell. You can add the following line to your .bash_profile
(or whatever you use for your shell).
export COMPOSER_DISABLE_XDEBUG_WARN=1
Make sure to close the terminal, and reopen it to load the new variable.
Source: https://stackoverflow.com/a/18098263/58795
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With