PhpStorm, Xdebug configuration: Cannot find a local copy of the file on server 关注
已回答
I try to debug my code, but i've trouble with the mapping Local/Server. I ask already here, but without success
Using xdebug_break() (as temporary improvement) response with:
Cannot find a local copy of the file on server /var/www/html/nudelplanet/src/Administration/Controller/AdministrationController.php
Local path is //var/www/html/nudelplanet/src/Administration/Controller/AdministrationController.php
...
Questions:
- Where come from the local path //var/www/html/... . Never i setup this.
- My PHPStorm-setup is documented here
请先登录再写评论。
In terms of PhpStorm, Lando is a remote server. Files are located "remotely", they're not accessible by local file system, hence the "remote" naming.
Please enable "use path mappings" checkbox and adjust the mapping for that file.
Konstantin Annikov thx for reply. As you can see, your recommend setup is already done... Maybe i have an error in my config?