PHP Cli With Optional Xdebug: Separate Cli Ini File
I ran into a problem with a composer script timing out on my machine because I had xdebug installed on the cli.
Now, I sometimes actually use xdebug on the cli, so I wanted a cli config that allowed xdebug be switched on and off, but defaults to off.
I found this global variable: PHP_INI_SCAN_DIR