I am using PhpStorm 10 on my local machine and php 5.4/xdebug 2.2.1 on the remote machine.
My project contains a CakePHP based website and some cli scripts.
The cli scripts are in a folder beneath the root folder of the website and are correctly mapped in the server settings.
Based on the fact, that I can easily debug the website (by listening for PHP debug connections and setting a cookie in my requests), I think I configured PhpStorm correctly.
When I execute a cli script on the remote machine, apparently xdebug starts a debug session, PhpStorm opens its debug view and shows the correct file name in the 'Frames' panel with the script stopped at the first line of code (which is not even enabled).
The thing is PhpStorm does not open the corresponding local file. I even can step through the code and watch the variables being changed correctly. Clicking the file name in 'Frames' panel or the 'Show execution point' button does nothing (usually it opens the corresponding local file at the point of execution). When I open the file manually, no execution point is shown.
Has somebody else observed this behaviour? Is this a bug? Or did I do something wrong?