Answer the question
In order to leave comments, you need to log in
How to overcome an error in docker when connecting xdebug?
I use docker, in docker-compose I forward xdebug settings
environment:
XDEBUG_CONFIG: "remote_enable=1 remote_host=192.168.220.1 remote_port=9001 idekey=PHPSTORM remote_autostart=1"
PHP_IDE_CONFIG: "serverName=docker"
Answer the question
In order to leave comments, you need to log in
What about xdebug version?
Version >= 2.7.0 had a fix for this bug.
Try putting the value of each variable in single quotes if it's not the xdebug version
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question