I need to debug the code in my local environment.Accurately speaking, is a Laradock in my mac. But I tried it many times and failed.
Mac version MoJave 10.14.2
Docker version 18.09.0, build 4d60db4
Docker-compose version 1.23.2, build 1110ad01
Laradock version(commit id) a03c225e279910b9393b5e95fbffe5081b9e5a95
PhpStorm version 2018.1.1 Build #PS-181.4445.72
Xdebug status :
PHP 7.2.15 (cli) (built: Feb 21 2019 23:48:47) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.15, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.7.0, Copyright (c) 2002-2019, by Derick Rethans
phpinfo :

workspace/xdebug.ini :

php-fpm/xdebug.ini :

docker-composer ps :

Xdebug setting in PhpStorm :

Service setting in PhpStorm :

Remote debug setting in PhpStorm :

PHP Web Page setting in PhpStorm :

All of the above are my configuration information.
Let's take a look at the port information
➜ laradock git:(master) lsof -i:9001
Started Listening for PHP Debug connections
➜ laradock git:(master) lsof -i:9001
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
phpstorm 268 lightWay 56u IPv4 0xa71f266f59200b2d 0t0 TCP *:etlservicemgr (LISTEN)
When I type in the URL and press the Enter key, the window will jump to PhpStorm
PhpStorm Like this :

When I click 'Step Over(F8)' PhpStorm Like this:

Debugging can't go on and Chrome is waiting state:

Port information :
➜ laradock git:(master) lsof -i:9001
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
phpstorm 268 lightWay 56u IPv4 0xa71f266f59200b2d 0t0 TCP *:etlservicemgr (LISTEN)
phpstorm 268 lightWay 71u IPv4 0xa71f266f59f45e2d 0t0 TCP localhost:etlservicemgr->localhost:51955 (CLOSE_WAIT)
phpstorm 268 lightWay 73u IPv4 0xa71f266f669227ad 0t0 TCP localhost:etlservicemgr->localhost:55017 (ESTABLISHED)
com.docke 648 lightWay 30u IPv4 0xa71f266f592027ad 0t0 TCP localhost:55017->localhost:etlservicemgr (ESTABLISHED)
If I end my browser access, I got :

Port information :
➜ laradock git:(master) lsof -i:9001
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
phpstorm 268 lightWay 56u IPv4 0xa71f266f59200b2d 0t0 TCP *:etlservicemgr (LISTEN)
phpstorm 268 lightWay 71u IPv4 0xa71f266f59f45e2d 0t0 TCP localhost:etlservicemgr->localhost:51955 (CLOSE_WAIT)
phpstorm 268 lightWay 73u IPv4 0xa71f266f669227ad 0t0 TCP localhost:etlservicemgr->localhost:55017 (ESTABLISHED)
com.docke 648 lightWay 30u IPv4 0xa71f266f592027ad 0t0 TCP localhost:55017->localhost:etlservicemgr (ESTABLISHED)
Nothing changes and Xdebug Connection is not broken.
But if I click 'Stop index.php (F12)' my browser request will end.
port like this :
➜ laradock git:(master) lsof -i:9001
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
phpstorm 268 lightWay 17u IPv4 0xa71f266f68032e2d 0t0 TCP *:etlservicemgr (LISTEN)
I feel that PhpStorm has not received a request from the browser or Xdebug.
How do I get the Xdebug work?
Oh, yes, sometimes I can get tips from PhpStorm

But I have already configured it in the ./laradock/.env file.
Any help would be greatly appreciated... If I need to supply more info, I will gladly do so.
xdebug.remote_connect_back = 1- Tarasovych