Xdebug + PhpStorm stopped working

We don’t have a definitive guide, but there’s a bunch of interesting details in this topic: Xdebug nightmare - #8 by Glauber

Basically, the main reason this is so complicated is that it depends a lot on:

  1. The version of PHP/Xdebug. The 3.x version of Xdebug changed the default port it listens on.
  2. The version of PHPStorm. I don’t remember exactly, but I know there was a period there that PHPStorm just didn’t work for certain setups of Xdebug.
  3. Local version. This is mostly because different versions of Local ship will different versions of PHP.

When I looked at this a while ago, it seemed like for the latest versions of Local/Xdebug, we didn’t need the Xdebug+PhpStorm addon. You might take a look at this video to see if it helps: