![phpstorm remote server phpstorm remote server](https://i.stack.imgur.com/LNVNp.png)
Not working, I've checked 9003 port and it is allowed. I've tried to enable Listen for debug connection, enableed Xdebug extension in Google Chrome and set breakpoint on the first line, but connection was not established. PhpStorm 2021.3 comes with bundled remote development capabilities to help you code, run, and debug your projects from any machine.But my server run scripts from directory /pub/ but if I set this directory for upload script, PhpStorm adding /pub/ to the URL and get answer 404 "Validate Xdebug" did not worked because this validator creates a test file, uploads it to the server and try run the script.
![phpstorm remote server phpstorm remote server](https://www.webfoobar.com/sites/webfoobar.com/files/styles/image_quarter/public/inline-images/phpstorm-create-new-project-from-ftp.png)
I've tried changing path mapping to path/to/local/script, path/to/remote/script, path/to/docker/script and this did not do anything. I read the official documentation but still not getting there.
#Phpstorm remote server how to
The following are the steps on how to create new PhpStorm project. The problem is that I cannot find a complete guide to activate that function on remote servers. Create new PhpStorm project from remote server with automatic sync of source files. The premise is that I started with PHPStorm since 10 days.