I try to debug a zend-framework application with PHPStorm and XDEBUG, but it does not work: the browser starts and shows the ?XDEBUG_SESSION_START=12345, xdebug works (phpinfo()), but the debugger-tab always show "waiting for incoming connection with ide key '12345'.
I think the problem is that I have a virtual host that defines the docroot in a directory ("public") in the project directory and a DirectoryIndex set to "bootstrap.php". zend framework do the url-routing of the project and starts the bootstrap-file bootstrap.php. I wonder how should PHPStorm know the bootstrap.php is to observer. I wonder if the "use path mapping" is for this case, but I only want to configure: "All urls are processed from the bootstrap.php, independent from the url."
ok, here my settings:
The base directory of the project is c:\webroot\audite
screenshots from the phpstrom settings are attached.
It would be great if anyone can help me,
all the best,