Xdebug - PhpStorm breaks on other process, but not the original run configuration

48 Views Asked by At

I've had Xdebug set up and working properly in the past, but seem to have a real problem getting it to work consistently. This is a WordPress/WooCommerce install and I'm simply trying to load the homepage with some search query parameters so that I can debug a custom function.

Currently, I can't get it to break properly when I debug using a run configuration. It just won't break at all unless I tick the button to listen for incoming connections. At that point, I have to wade through every single index.php and cron.php process that runs, waiting for the right one to come along.

I'm not crazy, am I? I should be able to look at the single debug process and not all these others? It's as if PhpStorm is not receiving the initial connection when I run the configuration.

enter image description here

0

There are 0 best solutions below