Below you will find pages that utilize the taxonomy term “phpstorm”
Posts
Debug PHPUnit in Docker using PHPStorm
Problem I have a Docker setup that consists of:
A container that runs PHP A container that runs a MySQL database I am using PHPStorm for development and I would like to debug my PHPUnit tests that run inside of Docker container #1. However, when I try to do this, I get an error:
PDOException : SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for tms-api-mysql failed: Name or service not known /var/www/html/vendor/illuminate/database/Connectors/Connector.