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

请先登录再写评论。