Setting up Xdebug on Homestead for PhpStorm

I have always found setting up Xdebug with PhpStom a pain. Last night I was fumbling through trying to get it setup and found this tutorial:

I recently installed Homestead for my development environment and discovered Xdebug needed some additional settings before it would work. Here’s a step-by-step process that I used to get PHPStorm + Homestead + Xdebug working in harmony.

This worked great for me and saved me tons of time. One difference I did was in PhpStorm Run/Debug configuration I checked “single instance only”.