如何在使用 DDEV 处理本地项目时忽略 Xdebug + PhpStorm 中的 phpstatus.php 连接?

How to ignore phpstatus.php connection in Xdebug + PhpStorm while working with local projects with DDEV?

我在使用 DDEV 时收到来自 Xdebug 的冗余传入连接(请求 uri:/phpstatus,服务器上的文件路径:/var/www/phpstatus.php),尽管 phpstatus.php 文件中没有断点.

要解决此问题,需要正确映射到项目文件和 "Ignore external connections through unregistered server configuration"。