Using macOS Sierra, PHPStorm and Xdebug, web application configured on port 80 (not running from PHPStorm).
When browsing to localhost:80/index.php, PHPStorm won't stop on breakpoint, when accessing the external ip 192.168.1.2/index.php, PHPStorm hits the breakpoint.
I would like to use localhost for debugging instead of the external IP.
Is there a way to make PHPStorm to work with localhost?
P.S. Visual Studio Code works in both scenarios (therefore I believe Xdebug and PHPStorm are working good).