PhpStorm remote debugging: cannot find a local copy on server

Trying to figure out how to use remote debugging in PHPStorm, however in the debugger window I am getting the following error:

  • Cannot find a local copy on the server /var/www/html/example
  • Local path is /var/www/html/example
  • Click to set up path mappings


After clicking on this I'm unable to set any path in this menu. I only have the following:

  • File path on server: /var/www/html/example
  • File path in project: /var/www/html/example
  • Use path mappings (select if the server is remote or symlinks are used)

I click on use path mappings, however all this does is show the file path on server and the path in project is now 'undefined', I'm not able to set anything when clicking on 'Use path mappings'.

Any ideas on how to resolve this error?
0

You should be able to enter absolutr paths on the server manually: http://i.imgur.com/8dga0cl.png .
What type of the debugging do you use? Local/remote? CLI script/web app?

-1

Greetings. You managed to solve this problem. The exact same thing is happening to me. It should be noted that I have a docker container that would be my remote server

0

I would suggest contacting us directly using Help | Contact Support. That way you'll be able to share private info with us such as project names & project paths. This & related info sometimes very important in understanding the root of the problem.

0

请先登录再写评论。