I am trying to use PhpStorm’s debugging for a project I am working on. Mostly, it does not work—PhpStorm simply does not recognize the incoming debugger connections. But for some REQUEST_URIs, it works, and I simply don’t see a reason for it.
For instance, when invoking one of these paths from the browser, a debugging session starts:
On the other hand, invoking most other paths will be ignored by PhpStorm, for example:
(FYI: both “page” URLs above are handled by the same controller class, and both “file” URLs are handled by another controller class. In all of the above cases, a cookie “PHPSTORM_XDEBUG_BREAK” with the value “1” is sent to the server.)
To make things even more strange: in any case, breakpoints will be ignored. I have disabled “break at first line”, and in those cases where a debugging session starts, the execution will automatically halt at a line from an external library that does not have a breakpoint.
The setup: PHPStorm 2.1.4 with Xdebug 2.1.0 on Mac OS X with PHP 5.3.8 and Apache. I have not configured any path mappings.
Thanks in advance for any ideas.