-
Notifications
You must be signed in to change notification settings - Fork 91
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
XDebug => PhpStorm connection is not working on Mac OS X #179
Comments
This is just necessary when using Docker for Mac? Because I have no problems using XDebug without configuration |
Yes, with Docker for Mac! |
The problem is that the Docker container runs on a VM which does not (seem to) allow connections to the host. When you browse the website, Nginx or Apache think that you are and therefore the connection to your host (where PhpStorm is running) does not work. |
To make it work you adjust
See this for the official Docker information on the matter. |
@spoonerWeb Does the problem still exist? |
Macos also needs a native proxy - Try this on macos side: |
If you use |
In addition, if you use a nginx reverse proxy, you'll need to override this:
|
This issue exists when using Docker for Mac!
You need to do following steps:
10.254.254.254
xdebug.remote_host = 10.254.254.254
to the development.inixdebug.remote_connect_back = Off
in the development.inimake rebuild
10.254.254.254
and Port9001
Hope, this helps others with that issue.
The text was updated successfully, but these errors were encountered: