SSH Tunneling before launching Rails app

I have a question about SSH tunneling.

Now, I'm developing an application with Rails.

I want to build SSH tunnel to connect to the DB before launching Rails app with the button:

Is there any configuration item in IntelliJ IDEA?

Or, can I configure executing building a tunnel command with "Before launch" section in "Run/Debug configuration"? How can I do it?

0
2 comments

Hello,

it's possible to run an external tool, will it suit your needs? https://www.jetbrains.com/help/ruby/settings-tools-external-tools.html

0

Please sign in to leave a comment.