title: DDEV/Laravel/PHPUnit: Problems with setup in PhpStorm
body: <p>Using Laravel with DDEV/Docker on a Mac, I am stuck getting PhpStorm to run directly PHPUnit with coverage. I am following these instructions: <a href="https://ddev.readthedocs.io/en/stable/users/topics/phpstorm/" rel="nofollow noreferrer">https://ddev.readthedocs.io/en/stable/users/topics/phpstorm/</a></p>
  <p>I started the setup with</p>
  <pre><code>curl -s &quot;https://laravel.build/myproject?with=mysql,redis,memcached&quot; | bash
  </code></pre>
  <p>Everything's is working fine, including debugging with Xdebug after I turned on Xdebug with</p>
  <pre><code>ddev xdebug on
  </code></pre>
  <p>PHPUnit works fine via console as well:</p>
  <pre><code>ddev exec phpunit 
  </code></pre>
  <p>Composer version is 2.1.4.</p>
  <p>Following the instructions named above, I am stuck at point 6.</p>
  <p><a href="https://i.stack.imgur.com/4sMFU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4sMFU.png" alt="PhpStorm does not find PHPUnit" /></a></p>
  <p>What am I missing out? PHPUnit is located within the directory and it is composer-installed as well:</p>
  <p><a href="https://i.stack.imgur.com/WIXR0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WIXR0.png" alt="composer.json for PHPUnit" /></a></p>