Docker Laradock - Debug session was finished without being paused

Hello, I've been trying and searching for 3 days now for a solution to the problem that I can't debug, I use Laradock with docker (of course) and I am trying to build and nginx server that I can actually debug but I don't know at this point what I am doing wrong.

I have some relevant print screens below which I believe they will give you the info you require to assist me with this problem.

PhpStorm Errors:

PhpStorm Settings:

PhpStorm Event Log:

docker conatiners

php-fpm/xdebug.ini && workspace/xdfebug.ini

laradock -> .env

0
3 comments

On the first screenshot, did you place a breakpoint in the index.php file before starting a debug session?
Mappings on the second screenshot are wrong, the path is supposed to be remote, not local. It makes sense to map the whole project directory to /var/www.

0
Avatar
Permanently deleted user
  1. On the first screenshot I have placed a breakpoint at the RaidController, since it's a Laravel Project it's supposed to go something like this index.php -> routes/web.php -> controllers/RaidController.php
  2. Yes that worked.

So I linked the whole project directory to

/var/www

It's working now with the setting below

Thank you, Eugene Morozov.

0

You are welcome. The second mapping is not needed though, it's covered by /var/www on the project directory.

0

Please sign in to leave a comment.