Xdebug on Visual Studio doesn’t break the code - wrong .json setup with Visual Studio?

I’m pretty new with PHP programming and I wasted all my evening trying to figure out why Visual Studio wouldn’t debug my code. I set up the whole environment with MAMP, and xdebug: I can see it in phpinfo but when I try to debug even some pretty stupid rows of code, Visual Studio wouldnt break at the breakpoint, it just shows nothing at all.

I cannot understand what’s wrong with that since, as said, I can see the xdebug related fields in the phpinfo page. I had already modified both the php.ini files to make available xdebug with the actual php version choosen in MAMP.

Some of you had some similar experience? I’m available to make more clear my question, if needed.

Thanks in advance.