IntelliJ IDEA: run shell script as launch / debug configuration

Is there a way that a shell script can be called from IntelliJ's startup / debug configurations?

+57
intellij-idea
Mar 04 '13 at 14:12
source share
3 answers

I just found out that we can call the shell script using the BashSupport plugin.

+41
Mar 04 '13 at 15:54
source share

"Add external tool" to "Before Running" does the trick.

Screenshot

edit tool add shell script

+40
Nov 20 '13 at 19:35
source share

Not sure about 11, but in 12 there is a part of the Run / Debug configuration called Before Run, and you can select your shell script in the Add External Tool option.

+6
Mar 04 '13 at 14:20
source share



All Articles