1

Before running anything (e.g. a TestNG test), I want to execute a CLI command, and I would like to place it into the Run/Debug window Before launch section if it is possible.

So far, I have found a way to create a bash script, there I can write the command. Here: https://youtrack.jetbrains.com/issue/IJPL-531/Command-Line-Run-Configuration

However I cannot find a way to execute it before launch.

1 Answer 1

0

According to the documentation on Run Configurations - Before Launch: "In this area, you can specify tasks to be performed before starting the selected run/debug configuration. The tasks are performed in the order they appear in the list." As I've never done this, I'm not sure which of the options you would need for your script.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.