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

前端 未结 4 1457
轻奢々
轻奢々 2020-12-02 10:24

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

4条回答
  •  旧时难觅i
    2020-12-02 10:48

    IntelliJ IDEA 2019.2 update

    New version of IntelliJ IDEA has Shell Script Support included. It means you can now create Shell Script build for your project.

    Edit Configurations > (+) Add New Configuration > Shell Script

    You can also build your project before executing your script by adding Run Another Configuration task. That's how it looks like: Add Shell Build window

提交回复
热议问题