How to debug with PHPSTORM using XDEBUG in Mac

Problem – Zero-configuration popup was not working for the incoming connections.

What I followed

Flushed all DNS Cache using Cleanmymac application

Cleared all chrome cache

;XDEBUG settings in php.ini file

xdebug.remote_host=localhostproduction servers
xdebug.remote_port=9004 ;apply same port 9004 at Preferences | Languages & Frameworks | PHP | Debug

Start Listening to PHP Debug Connection (phone type icon): you can find it under Run

Go to the website and just refresh the page and finally to popup should appear.

Leave a comment