- Go to PHPStorm 
Settings > Project settings > PHP > Servers - Add server with following parameters:
- Name: 
vagrant(same asserverName=indebugscript) - Host, port: set vagrant box IP and port
 - Debugger: Xdebug
 - [v] Use path mappings
 - Map your project root in host to relative dir in guest
 
 - Name: 
 
- Hit OK