Sometimes, you could have to debug code in another PhpStorm
project, you have to update the configuration.
In php.ini
, edit file and put xdebug.remote_autostart = 1
You also have to configure your IDE:
In the phpStorm
configuration, Max. simultaneous connections must be set to a value greater than one.
More information in the official documentation