For this example, a docker machine was built and the project was configured inside it. The machine contains the installation of PHP, PHP-Pearl and PHP-Xdebug. Run docker compose up -d --build and ...
I found out there are many outdated setup articles which may not work for the Xdebug 3.1.X version. Therefore I jot down the setup of PHP with Xdebug and docker. make sure the attribute pathMappings ...