Docker, PhpStorm & Xdebug: Can't find source position error : <p>I built an image that is based on a <code>php:5.6-fpm-alpine</code> image and I run a symfony-based application therefore I run both cli and web-based php scripts. </p>

<p>So I spawned a shell over my running container via:</p>

<pre><code>docker exec -ti ^container_id^ /bin/sh
</code></pre>

<p>And over the shell I exported the following enviromental variables:</p>

<pre><code>export PHP_IDE_CONFIG="serverName=0.0.0.0:5092"
export XDEBUG_CONFIG="idekey=PHPSTORM"
</code></pre>

<p>And the IDE has been setup as explained in the following links:</p>

<ul>
<li><a href="https://stackoverflow.com/questions/47284905/cant-connect-phpstorm-with-xdebug-with-docker/47450391#47450391">Can&#39;t connect PhpStorm with xdebug with Docker</a></li>
<li><a href="https://stackoverflow.com/questions/46263043/how-to-setup-docker-phpstorm-xdebug-on-ubuntu-16-04">How to setup Docker + PhpStorm + xdebug on Ubuntu 16.04</a></li>
</ul>

<p>But when I enable the Xdebug on phpstorm even it debugs normally I get the following error message:</p>

<p><a href="https://i.stack.imgur.com/ImkOL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ImkOL.png" alt="Error displayed into my PHPSTORM running instance"></a> </p>

<p>Do you know why that happens.</p>
