From d57a89d5afac7889cf8cecc37f78fb818d169baf Mon Sep 17 00:00:00 2001 From: johnstevenson Date: Wed, 28 Dec 2016 12:13:23 +0000 Subject: [PATCH] Update xdebug troubleshooting, fixes #5997 --- doc/articles/troubleshooting.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/articles/troubleshooting.md b/doc/articles/troubleshooting.md index 7376d2ec5..e1e53efd2 100644 --- a/doc/articles/troubleshooting.md +++ b/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.