The Tomcat instance embedded in CloudBees is used as a server. This Tomcat instance is included in the server client libraries. You can download those libraries using a quick fix provided right in the run configuration:

If the message Error: Client libraries were not downloaded is shown in the lower part of the dialog, click Fix.

Name field and Share option

This field is not available when editing the run/debug configuration defaults.

Share

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 .idea\runConfigurations folder 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 in the .iws file otherwise.

This check box is not available when editing the run/debug configuration defaults.

Server tab

Item

Description

After launch

Select this check box to start a web browser after starting the server and deploying the artifacts.

Select the browser from the list. Click (Shift+Enter) to configure your web browsers.

With JavaScript debugger

If this check box is selected, the web browser is started with the JavaScript debugger enabled.

Note that JavaScript debugging is available only for Firefox and Google Chrome. When you debug your JavaScript in Firefox for the first time, the JetBrains Firefox extension is installed.

The field underneath After launch

Specify the URL the browser should go to when started. Most likely, the default http://localhost:8080 will do.

VM options

If necessary, specify the command-line options to be passed to the server JVM at the server start.

If you need more room to type, click next to the field to open the VM Options dialog where the text entry area is larger.

Select this option to collect accurate branch coverage. This mode is available for the IntelliJ IDEA code coverage runner only.

Track per test coverage

Select this check box to detect lines covered by one test and all tests covering line.

Packages and classes to record code coverage data

If necessary, specify the classes and packages to be measured.

Use or to add classes or packages to the list.

To remove the classes or packages from the list, select the corresponding list items and click .

Enable coverage in test folders.

Select this check box to include the test source folders in code coverage analysis.

Before Launch options

Specify which tasks should be carried out before starting the run/debug configuration.

Item

Shortcut

Description

Alt+Insert

Click this icon to add a task to the list. Select the task to be added, for example:

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.

Make. Select this option to compile the project.

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.

Build Artifacts. Select this option to build an artifact or artifacts. In the dialog that opens, select the artifact or artifacts that should be built.

Run Another Configuration. Select this option to execute another run/debug configuration. In the dialog that opens, select the configuration to be run.

Run Ant target. Select this option to run an Ant target. In the dialog that opens, select the target to be run. For more information, see Ant.

Generate CoffeeScript Source Maps. Select this option to generate the source maps for your CoffeeScript sources. In the dialog that opens, specify where your CoffeeScript source files are located. For more information, see CoffeeScript.

Run Maven Goal. Select this option to run a Maven goal. In the dialog that opens, select the goal to be run.

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.

Alt+Delete

Click this icon to remove the selected task from the list.

Enter

Click this icon to edit the selected task. Make the necessary changes in the dialog that opens.

Alt+Up/Alt+Down

Click these icons to move the selected task one line up or down in the list. (The tasks are performed in the order that they appear in the list.)

Show this page

Select this check box to show the run/debug configuration settings prior to actually starting the run/debug configuration.

Activate tool window

If this check box is selected, the Run or the Debug tool window opens when you start the run/debug configuration.

Otherwise, the tool window isn't shown. However, when the configuration is running, you can open the corresponding tool window for it yourself if necessary.

Toolbar

Item

Shortcut

Description

Alt+Insert

Create a run/debug configuration.

Alt+Delete

Delete the selected run/debug configuration.

Ctrl+D

Create a copy of the selected run/debug configuration.

View and edit the default settings for the selected run/debug configuration.

Alt+Up/Alt+Down

Move the selected run/debug configuration up and down in the list.

The order of configurations in the list defines the order in which the configurations appear in the corresponding list on the main toolbar.

You can group run/debug configurations by placing them into folders.

To create a folder, select the configurations to be grouped and click . Specify the name of the folder.

Then, to move a configuration into a folder, between the folders or out of a folder, use and . You can also drag a configuration into a folder.