Explorar o código

Update xdebug troubleshooting, fixes #5997

johnstevenson %!s(int64=8) %!d(string=hai) anos
pai
achega
d57a89d5af
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      doc/articles/troubleshooting.md

+ 7 - 0
doc/articles/troubleshooting.md

@@ -149,6 +149,13 @@ php -d memory_limit=-1 composer.phar <...>
 
 This issue can also happen on cPanel instances, when the shell fork bomb protection is activated. For more information, see the [documentation](https://documentation.cpanel.net/display/ALD/Shell+Fork+Bomb+Protection) of the fork bomb feature on the cPanel site.
 
+## Xdebug impact on Composer
+
+To improve performance when the xdebug extension is enabled, Composer automatically restarts PHP without it.
+You can override this behavior by using an environment variable: `COMPOSER_ALLOW_XDEBUG=1`.
+Composer will always show a warning if xdebug is being used. If you see this unexpectedly, then
+the restart process has failed: please report this [issue](https://github.com/composer/composer/issues).
+
 ## "The system cannot find the path specified" (Windows)
 
 1. Open regedit.