PhpStorm has a lot of great settings simplifying the developer’s work. But some very convenient settings are turned off by default. On the other hand, some rarely used ones are turned on by default. You can change some default settings to make your work in PHP faster.
Use a Dockerfile to add XDebug to the official Docker WordPress image. Do not want to build? Use a pre-made image from a repository on Docker Hub. Also, see how to configure PhpStorm for debugging. And finally, learn how to separate production and development environments using multiple docker-compose files.