Reputation: 27
I have a EC2 instance using nginx and a PHP test web application on it.
Currently every time I want to debug using PhpStorm I have to enter this command in my Ubuntu terminal:
sudo ssh -N -R 9000:localhost:9000 -i "devInstanceNginx.pem" [email protected]
I am wondering what I can do so that I don't have to do that command.
(Note I will only generally debug from one of 2 devices if that makes a difference)
Upvotes: 0
Views: 302
Reputation: 3557
You can create a "Shell script" run configuration with this script. Configuration can be added via Run > Edit Configurations:
Upvotes: 1