IntelliJ IDEA: Running a shell script as a Run/Debug Configuration

匿名 (未验证) 提交于 2019-12-03 01:06:02

问题:

Is there a way by which a shell script can be invoked from IntelliJ Run/Debug configurations?

回答1:

I just found out that we can invoke a shell script with the help of BashSupport plugin.



回答2:

'Add External tool' in the 'Before Launch' does the trick.

Screenshot



回答3:

Not sure about 11, but in 12 there's a part of Run/Debug Configuration that is called "Before Launch" and you can select your shell script in "Add External tool" option.



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!