@sonicviz and @jamesgreenblue
I managed to make it work!
My xdebug.ini looks like this:
[xdebug]
zend_extension=xdebug.so
xdebug.mode=develop,debug
xdebug.client_host=host.docker.internal
xdebug.client_port=9003
Then, in my PHPStorm, I have used PHP Web Page template to create a new Debug Configuration.
Point your server to the domain you are working on
Default port 80 running Xdebug.
I’m using Chrome with Xdebug helper - Chrome Web Store extension to activate it for the website I’m working on.
For me, it works like charm.
Took me some time to figure it out, but it works.
Hope it helps!