Run configurations enable a user of an IDE such as IntelliJ or Eclipse to save repeatable actions performed within the IDE. They can be viewed as a macro, but with the limitation of only using functionality recognized by the specific IDE it is created in.
Questions tagged [run-configuration]
158 questions
53
votes
6 answers
Running multiple launch configurations at once
I have several launch configurations in Eclipse each launching the same Java program but with different parameters.
Now is it possible to run all of these at once (with one mouse click) instead of selecting each of it separately and launching it?

clamp
- 33,000
- 75
- 203
- 299
37
votes
2 answers
How to set the default working directory for run configurations in PyCharm
When I want to run one of our many python scripts I hit run, which creates a new run configuration. The working directory for that configuration is the folder in which the python script file resides. Instead, it should run from a project wide fixed…

ikku100
- 809
- 1
- 7
- 16
31
votes
10 answers
Is there a way to run multiple Spring Boot applications with a single Running Configuration in IntelliJ IDEA?
I have multiple spring boot applications in a single IntelliJ project. And i want to have a single button to run all of them in some order.
I know there is an option to Run Another configuration before launching the original one, so in that way the…

ikryvorotenko
- 1,393
- 2
- 16
- 27
22
votes
1 answer
IntelliJ : executing a program with environment variables stored in a separated file
My application needs custom environment variables to run.
I have created a run configuration in IntelliJ in order to start the application. For environment variables, I have set VM options.
Example…

OlivierTerrien
- 2,451
- 1
- 19
- 31
16
votes
4 answers
How to create a generic launch configuration with Eclipse?
I have a run configuration in my eclipse. In my project we have two branches : DEV and STABLE.
I would like to create one run configuration for building my project whatever branch it is on.
For now, when I set Base directory with one of those two…

Stephan
- 41,764
- 65
- 238
- 329
15
votes
2 answers
Shortcut for selecting run configuration in Eclipse IDE
I have an Eclipse workspace with a bunch of projects. I manually created some run configurations for each project (it's necessary to pass some arguments to VM, so I can't just run it directly, e.g. using shortcut ALT+SHIFT+X, T in the specific…

tzima
- 1,285
- 1
- 10
- 23
13
votes
5 answers
Eclipse throws java.lang.NullPointerException on creating android junit test configuration
I've got Android project in Eclipse.
I created test project for my Project
Try to create test configuration as written at Testing from Eclipse with ADT at developer.android.com.
My actions:
Run->Run configurations
Select Android JUnit…

npakudin
- 211
- 1
- 2
- 8
12
votes
4 answers
How to pass a parameter to the Java code in run/debug configuration from Android Studio
My android app does some http requests to my server. However sometimes I am debugging the new api code that runs on my development machine. I would like to be able to pass something (like an environment variable) so in my code, if it's present I…

Gavriel
- 18,880
- 12
- 68
- 105
12
votes
2 answers
Can I run a script in an Eclipse run configuration?
My company has traditionally used a Linux command line development environment. We use a script to manage the PATH and LD_LIBRARY_PATH environment variables when compiling and running. This script is called by adding it to the beginning of a…

Scottie T
- 11,729
- 10
- 45
- 59
11
votes
2 answers
Angular 5 WebStorm Run Configuration
I'm surprised to see Angular does not yet have an entry in Jet Brain's IDE, WebStorm, which run config do you guys use?
I want to execute: ng serve
but Maybe there's a better option?
one like vue's npm run dev which opens up a page in your default…

tatsu
- 2,316
- 7
- 43
- 87
10
votes
1 answer
Breakpoints in WebStorm not hitting for JavaScript debugging
I have the following configuration setup in WebStorm:
When I click debug, it launches Chrome fine and navigates to the page, but my breakpoints never get hit. It's connected somehow though because I see all of the console.log() output in…

MrDuk
- 16,578
- 18
- 74
- 133
8
votes
1 answer
How can I set path for my Shell Script in Android Studio?
I want to set Script Path for my script in android project without using a strict path(/User/Documents/MyApp/tools/script.sh) as well as "Working directory".
I know that I can use "External tools" but this solution doesn't work because all project…

serg3z
- 1,852
- 12
- 28
8
votes
12 answers
Why can't I configure a CMake target with CLion (Nothing to run on)?
I'm struggling to run a program with CLion on Windows 10. It was working fine a couple weeks ago and the only thing I could think of that might have broken things is installing git.
As you can see from the below picture, the run button is greyed out…

karobar
- 1,250
- 8
- 30
- 61
8
votes
1 answer
Android Instrumented tests configuration problem
I have some Espresso tests which are in the androidTest directory of Android Studio. When I bring cursor over the green triangle (see below) to run the test the Studio shows "Run Test" instead of "Run verifySomething" and proceeds to run the test as…

alexbtr
- 3,292
- 2
- 13
- 25
8
votes
0 answers
Run Configuration for Android JUnit tests across multiple modules possible?
Is it possible to define a run configuration in Android Studio (IntelliJ), which runs unit tests of more than just one specific module?
I have many modules in my app and I want to test everything with just a single command, without triggering each…

Marian Klühspies
- 15,824
- 16
- 93
- 136