Remote file path 'home\prepend.php' is not mapped to any file path in project

I am trying to get PHPStorm working with Remote Debugging with XDebug. I finally managed to get php storm to pop up with a dialague when i started my xdebug session. But now I am getting an error stating

"Remote file path 'home\prepend.php' is not mapped to any file path in project"

So I proceed to click "Edit Path Mappings" and I get the window shown below


In this window I am unable to edit either of the two fields at the top. I can only select the text but cannot edit them at all. I am able to set a mapping below, but as the error suggests I don't actually have any files called prepend.php in my project. I tried using the bookmarklets that you guys link to in vaious places to start the xdebug session, and I have tried the chrome extension as well to start the session and both give the same end result.

Info about my Environment.
Local: MacOSX 10.6 (XAMPP, 5.3.x)
Remote: RedHat (Apache2, PHP5.2.x)

XDebug settings in php.ini: (I have this both in my local php.ini as well as my remote php.ini)

xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.remote_host = localhost
xdebug.remote_port = 9000
xdebug.idekey = EVOKNOW
xdebug.remote_connect_back = 1
xdebug.remote_autostart = 1
xdebug.remote_log = /tmp/xdebug.log

IDE Settings:
    Connection Type: In Place
    URL: set to the url of the app
    Local path: set to the root of my project.
    Web path: set to '/' so the final project url is
  PHP > Debug
    Port: 9000
    Break at first line is enabled.
  PHP > Debug > XDebug Proxy
    IDE Key is set to PHPSTORM
    Port: 9000
    HOst: [blank]
  No debuggins settings are setup as well as no servers are setup when I start this. I also followed the instructions on starting from scratch from here:;jsessionid=A02D85791DBF1074EC833935B13286DF#5303825

Also I am using the EAP version of PHPStorm 110.226, but I did have the same issue of getting debugging to work in 2.x (I decided to try the EAP to see if it worked). I am also using the Yii php framework as my project.

If theres any other info I can provide please let me know.
Comment actions Permalink

Hello Sh Mc,

Sorry for delay.

Please note that right column in the tree table is editable:
You should specify the path mapping between project root and the server document root. If your project is local and don't require path mappings you can leave 'Use path mappings...' checkbox unchecked.

Also it looks like the '/home/prepend.php' script is located outside the project (some kind of a global prepend script). In that case you need to disable all 'Force break...' options:


Thank you for feedback!

Comment actions Permalink

Hi Sh Mc,

Do you still have an issue?

Thank you for feedback!

Comment actions Permalink

Hi everyone,

sorry for reviving an old thread, but I have the exact problem. I've done everything you suggested in your thread and generally it works OK, that is, scripts that are executed before reaching my project scripts are ignored. However, one specific path mapping that is outside the project is causing me troubles, the autoloading script. Whenever the autoload is used from my project, debugger stops and shows the message from the title of the thread. Now, I've solved this by symlinking the autoload.php to the project root and setting the correct path mapping to that file, but I'd rather not do that. Is there a way to make PhpStorm skip this one too?


Comment actions Permalink


Have you disabled 'Force *' checkboxes?

Thank you for feedback!

Comment actions Permalink

Yes, every path that is outside the project is skipped except the script that contains the autoload mehanism.

Comment actions Permalink


Could you please attach your Xdebug remote log (

Thank you for feedback!

Comment actions Permalink

Hi Nikolay,

sorry for being late with this, I was rather busy.

Here is the xdebug remote log of one short session where the problem appears.


Please sign in to leave a comment.