|Name||This field shows the name of your Gradle project and the Gradle task that you have selected in the
Gradle tool window for the configuration.|
Select this check box to make the run/debug configuration available to other team members.
If the directory-based project format is used,
the settings for a run/debug configuration are stored in a separate .xml file in the
if the run/debug configuration is shared, or in the
.idea\workspace.xml file otherwise.
If the file-based format is used,
the settings are stored in the
.ipr file for shared configurations, or
.iws file otherwise.
This check box is not available when editing the run/debug configuration defaults.
|Single instance only||If this check box is selected, this run/debug configuration cannot be launched more than once.
Every time a new run/debug configuration is launched, IntelliJ IDEA checks the presence of the other instances
of the same run/debug configuration, and displays a confirmation dialog box. If you click OK
in the confirmation dialog box, the first instance of the runner will be stopped,
and the next one will take its place.
This makes sense when the usage of certain resources can cause conflicts, or when launching two run/debug
configurations of the same type consumes too much of the CPU and memory resources.
If this check box is not selected, it is possible to launch as many instances of the runner as required.
So doing, each runner will start in its own tab of the Run tool window.
|Gradle Project||Use this field to specify the location of your Gradle project. You can either enter it manually or
click the Browse button and point to the
desired location in the dialog that opens.|
You can also click button to select an available Gradle module
from the list of registered Gradle modules in your existing IntelliJ IDEA project. The list has a tree structure that
might be useful if you have a Gradle multi-module project.
|Tasks||This field shows the selected Gradle task. You can add other tasks to the selected one. Use spaces to separate one task from another.|
|VM Options||Use this field to specify VM options for your Gradle project.
If you need more room to type, click next to the field
to access the VM options dialog where the text entry area is larger.
When specifying the options, follow these rules:
Use spaces to separate individual options, for example,
-client -ea -Xmx1024m.
If an option includes spaces,
enclose the spaces or the argument that contains the spaces in double quotes,
some" "arg or
If an option includes double quotes (e.g. as part of the argument),
escape the double quotes by means of the backslashes,
|Script Parameters||Use this field as the Gradle command line to specify options for Gradle tasks.|
For the information on the syntax, see Gradle command line options.
Please note that some of the Gradle commands options are not supported in IDE. In this case you will receive an error message indicating the problem.
|Before launch||Specify which tasks must be performed before applying the run/debug configuration.
The specified tasks are performed in the order they appear in the list.
||Click this icon to add a task to the list. Select the task to be added:
Run External tool.
Select this option to run an application which is external to IntelliJ IDEA.
In the dialog that opens, select the application or applications that should be run.
If the necessary application is not defined in IntelliJ IDEA yet, add its definition.
For more information, see Configuring Third-Party Tools and External Tools.
Select this option to have the project or module compiled.
The Make Module command will be carried out if a particular module is specified in the run/debug configuration, and
the Make Project command otherwise.
If an error occurs during the compilation,
IntelliJ IDEA won't attempt to start the run/debug configuration.
Make, no error check.
The same as the Make option but IntelliJ IDEA will try to start the run/debug configuration
irrespective of the compilation result.
Select this option to have an artifact or artifacts built.
In the dialog that opens, select the artifact or artifacts that should be built.
See also, Configuring Artifacts.
Run Another Configuration.
Select this option to have another run/debug configuration executed.
In the dialog that opens, select the configuration to run.
This option is available only if you have already at least one run/debug configuration in the current project.
Run Ant target.
Select this option to have an Ant target run.
In the dialog that opens, select the target to be run.
For more information, see Ant.
Generate CoffeeScript Source Maps.
Select this option to have the source maps for your CoffeeScript sources generated.
In the dialog that opens, specify where your CoffeeScript source files are located.
For more information, see CoffeeScript Support.
Run Maven Goal.
Select this option to have a Maven goal run.
In the dialog that opens, select the goal to be run.
For more information, see Maven.
Run Remote External tool: Add a remote SSH external tool. Refer to the section Remote SSH External Tools for details.
Upload files to Remote Host.
Select this option to have the application files automatically uploaded to the server according to the default server access configuration.
For more information, see Configuring Synchronization with a Web Server and Uploading and Downloading Files.
||Click this icon to remove the selected task from the list.|
||Click this icon to edit the selected task.
Make the necessary changes in the dialog that opens.|
Click this icon to move the selected task one line up in the list.|
Click this icon to move the selected task one line down in the list.|
|Show this page||
Select this check box to have the run/debug configuration settings shown prior to
actually starting the run/debug configuration.|
|Active tool window||Select this option if you want the Run/Debug tool windows
to be activated automatically when you run/debug your application. This option is enabled by default.|