I'm using PhpStorm and having a problem with Docker and Xdebug. When I check the logs of xdebug in /tmp/xdebug.log
, it shows these errors:
[27] I: Connecting to configured address/port: host.docker.internal:9001.
[27] W: Creating socket for 'host.docker.internal:9001', getaddrinfo: Invalid argument.
[27] E: Could not connect to client. :-(