Comments (8)
To make it work you adjust etc/php/development.ini
as follows:
xdebug.remote_connect_back = off
xdebug.remote_host = docker.for.mac.localhost
See this for the official Docker information on the matter.
from typo3-docker-boilerplate.
This is just necessary when using Docker for Mac? Because I have no problems using XDebug without configuration
from typo3-docker-boilerplate.
Yes, with Docker for Mac!
from typo3-docker-boilerplate.
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.
from typo3-docker-boilerplate.
@spoonerWeb Does the problem still exist?
from typo3-docker-boilerplate.
Macos also needs a native proxy - Try this on macos side:
sudo ifconfig en0 alias 10.254.254.254 255.255.255.0
from typo3-docker-boilerplate.
If you use xdebug.remote_host = host.docker.internal
instead the configuration is working for all platforms 👍
from typo3-docker-boilerplate.
In addition, if you use a nginx reverse proxy, you'll need to override this:
proxy_set_header X-Forwarded-For "host.docker.internal";
from typo3-docker-boilerplate.
Related Issues (20)
- Add EXT:solr 6.0 support
- Add EXT:solr 4.0 support
- Add EXT:solr 5.0 support
- Add EXT:solr 5.1 support
- "make" is missing on some hosts HOT 3
- Enable URL rewriting for RealUrl when using Nginx HOT 4
- Store MySQL data in /storage HOT 3
- Unsupported config option for services.app: 'dns_opt' HOT 5
- ERROR: Cannot start service app: no such file or directory - with bootchart installed HOT 3
- mysql-restore gives error 127
- Support of PHP 7.1 HOT 5
- Install php module HOT 3
- I can not connect to mysql with sequel pro
- Typo3 installation stuck on the db configuration step HOT 2
- modify apache vhost conf [Question] HOT 1
- Use dot env instead of yaml files for enviroments in docker-compose
- Still alive? HOT 4
- Upgrade to TYPO3 9 HOT 3
- [SUGGESTION] Remove /var/ folder from composer installation in docker volume HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typo3-docker-boilerplate.