Hey @paulotruta –
Usually if everything appears to be setup correctly, but things are working, it’s something in the networking layer that is preventing communication – think Firewall, or antivirus.
Have a look at this topic for a little more info on it: How to get Xdebug working with Visual Studio Code?
– Ben