2

Is there a way to run a program in a ssh server from inside IntelliJ IDEA?

I already have a SSH server configured. I can deploy code to it, upload and download.

But I don't want to run it manually inside de server every time I need to test a code change. I just want to run it normally using the UI in IntelliJ IDEA, but when I press the "green button" it actually runs it in the server.

Is this possible?

I have professional version.

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904
YFl
  • 845
  • 7
  • 22

1 Answers1

2

IntelliJ IDEA 2021.1 will have Run Targets feature for that. You can already try the EAP version.

For the older versions check my answer here.

It's also possible to run apps in the Docker container.

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904