I'm using the latest IntelliJ and want to be able to view the output of ssh [email protected] tail somelogfile
in IntelliJ when remote debugging. How would I do this?
If you have Ultimate Edition, do the following (I dont think this is available in Community edition):
1) Specify remote connection settings (host, port, user, pass) in: File > Settings > Build, .., Deployment
2) Add a remote external tool in File > Settings > Tools > Remote SSH External Tools
In "Connection Settings" choose the one created in step 1. In "Program" write "tail somelogfile".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With