Path mappings does not work

Hi

I use docker and remote php interpreter.

I define 2 path mappings: <Project root>/test ->/opt/project and <Project root>/src ->/var/www.

<Project root>/src ->/var/www works fine, but <Project root>/test ->/opt/project does not map anything!

Do I have to configure something else?

In Powershell Console, I also see that there is only one mapping...

Michael

0

This is a Docker Compose interpreter, right?
These mappings are only used by PhpStorm itself so that it would understand which file it should call remotely when you are trying to run a local file.
They don't actually create volume bindings, you need to add them manually to the docker-compose.yml file.

1

请先登录再写评论。