Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update xdebug troubleshooting, fixes #5997 #6003

Merged
merged 2 commits into from
Dec 28, 2016

Conversation

johnstevenson
Copy link
Member

No description provided.


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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it no longer possible to prevent that warnung using a ENV var?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. COMPOSER_DISABLE_XDEBUG_WARN is still used, but I don't know if this is still required now that the default behavior is to disable xdebug. Perhaps @alcohol might have an idea here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh. I don't know anymore. We used to warn about xdebug, now we disable xdebug by default, but then people can force xdebug to stay loaded and they get the warning again which we may or may not be able to disable and arghjfhgkjedhgfkjragfadnbkjanflkjadsnkjfmnal

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'll document it as it still exists.

@Seldaek Seldaek merged commit 25ff290 into composer:master Dec 28, 2016
@johnstevenson johnstevenson deleted the xdebug-docs branch December 28, 2016 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants