How to edit/debug my Php/laravel app on remote server with with PhpStorm

Hello,
I need to edit/debug my Php/laravel app on remote server ( some external services do not work when referring local hosts )

and I found this https://www.webfoobar.com/index.php/node/92 article and moving step by step in my PhpStorm 2019.1.2
I opened tab https://imgur.com/a/k9koJPT
I have Ubuntu 18 server on Digital Ocean and in console I got access with command like :
ssh root@MNNN.NN.NNN.NN
as I have ssh keys generated.

In php storm options I do not see access with ssh keys.
I wonder how can I access my remote server with my PhpStorm 2019.1.2 I ?

Thanks!

You can use SFTP, which is basically FTP over SSH.

However, I would recommend downloading all files, databases, etc, and then work on it locally. Once you’re happy with the changes upload the code to the live site again. That way when you mess up it doesn’t take down the production website.

2 Likes

Short answer, Dont. As @rpkamp said, set up a local dev and work on it there, then publish to the server when you have it working.