What I did was remove all the server on PHPstorm Settings> PHP> Servers
then I make sure that the extension Xdebug-ext is running on the browser.
when visiting the page. PHPstrom should popup a modal for the connection. click on the mapping of the project and accept the connection.
last one is very important. on PHPstrom settings > PHP> Debug
under external connections.
you have to make sure you check the Break at fist line in PHP script