I'm trying to configure Xdebug for IntelliJ and my docker-compose project. Xdebug is installed and loaded inside the app container, I have confirmed this with phpinfo(); , the php.ini file that is responsible for the configuration of Xdebug is also loaded which was confirmed through php --ini.
The problem. IntelliJ detects my container from which it can determine a PHP version as well as a host of other configuration files. But php.ini is not detected and Xdebug is not detected, I confirmed this through the phpinfo output that IntelliJ provides.
Any help would be much appreciated.
edit: I don't have any other containers running, only web and db. IntelliJ is targeting web for its scan.