PhpStorm, Docker and Xdebug 3 on PHP 8.1 in 2022 [Docker PHP Tutorial 4.2]

preview_player
Показать описание
Link to the written tutorial on my blog:

Link to the branch of the Github repository:

In this video we will configure PhpStorm, PhpUnit and Xdebug to use the Docker setup that we introduced in the previous video.
This includes:
- running and debugging PHP scripts from PhpStorm
- running PhpUnit tests from PhpStorm
- debugging scripts that were
-- triggered from the browser (php-fpm)
-- triggered from the CLI
-- triggered from a worker (long running PHP process)

As a bonus we'll also modify the docker-compose config files to allow the usage of strace.

Рекомендации по теме
Комментарии
Автор

I'm new to PHP with a new company and I'm really regretting it at the moment. No conventions; all configuration; everyone does it differently; flips table.

kevinbtube
Автор

This video instruction maybe useful but stop spreading This option works only with "listening connection" in PhpStorm and this mode is not ordinary PhpStorm working mode. For each debugging file in the project this option will open new debugging session. Instead, needed for convenient debugging process. I wrote here because author of video does not share any email for contact on his site.

evgenymarkovnew
Автор

PHP is the best worst programming language! If you need something to connect to somewhere you will find a in the docs

chocolim