Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How view tail of log file in IntelliJ?

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?

like image 791
Don Rhummy Avatar asked Feb 08 '23 07:02

Don Rhummy


1 Answers

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".

like image 60
Ivaylo D. Ivanov Avatar answered Feb 11 '23 18:02

Ivaylo D. Ivanov