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

[8.x] Server command: Allow xdebug auto-connect to listener feature #40673

Merged
merged 2 commits into from
Jan 27, 2022

Conversation

pionl
Copy link
Contributor

@pionl pionl commented Jan 27, 2022

👋

To allow xdebug to auto-connect PHPStorms listener we need to pass env variables from the docker container to the PHP process.

We need to pass 2 ENV VARIABLES:

  • PHP_IDE_CONFIG - setups which mapping the PHPStorm will use
  • XDEBUG_SESSION - starts the xdebug session

This PR is connected with laravel-sail PR.

@jakubdibala
Copy link

👍

@taylorotwell taylorotwell merged commit 5d5cdf0 into laravel:8.x Jan 27, 2022
@pionl
Copy link
Contributor Author

pionl commented Jan 27, 2022

@taylorotwell thank you, I'm blind with the sorting -- next time :)

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.

None yet

3 participants