| Item | Description | ||||||
|---|---|---|---|---|---|---|---|
| Name | In this text box, specify the name of the run/debug configuration. | ||||||
| Share |
If this check box is selected, the run/debug configurations become available to the other team members.
The shared run/debug configurations are kept in separate xml files under .idea\runConfigurations folder, while the local run/debug configurations are kept in the .idea\workspace.xml. This field does not appear for the default run/debug configurations. | ||||||
| Path to Node |
In this field, specify the NodeJS installation home. Type the path to the NodeJS executable file manually,
or click the Browse button
and select the location in the dialog box, that opens.
If you have appointed one of the installations as default, the field displays the path to its executable file. | ||||||
| Node parameters | In this text box, type the NodeJS-specific command line options to be passed to the NodeJS executable file. The acceptable options are: | ||||||
| Path to Node App JS file | In this field, specify the full path to the NodeJS file to start running or debugging from. | ||||||
| Application parameters |
In this text box, type the NodeJS-specific arguments to be passed to the starting NodeJS application file
through the process.argv array.
| ||||||
| Working directory |
In this field, specify the location of the files referenced from the starting NodeJS application file, for example, includes.
If this file does not reference any other files, just leave the field empty.
Choose the folder from the drop-down list, or type the path manually, or click the Browse button
and select the location in the dialog box, that opens.
| ||||||
| Environment variables |
In this field, specify the environment variables for the NodeJS executable file, if applicable.
Click the Browse button to the right of the field and configure a list of variables
in the Environment Variables dialog box, that opens:
The definitions of variables are displayed in the Environment variables read-only field with semicolons as separators. The acceptable variables are:
| ||||||
| Run with CoffeeScript plugin | If this check box is selected, you can launch the CoffeeScript files directly, bypassing their conversion to JavaScript. | ||||||
| Path to coffee executable | Specify here the path to the executable file that launches CoffeeScript. | ||||||
| CoffeeScript parameters | Specify here the parameters to be passed to CoffeeScript. |
Toolbar
| Item | Shortcut | Description |
|---|---|---|
| Insert | Click this button to add new configuration to the list. |
| Delete | Click this button to remove the selected configuration from the list. |
| Ctrl+D | Click this button to create a copy of the selected configuration. |
| Edit Defaults | Click this button to edit the default configuration templates. The defaults are used for the newly created configurations. |
or
| Up or Down | Use these buttons to move the selected configuration up and down in the list. The order of configurations in the list defines the order, in which configurations appear in the Run/Debug drop-down list on the main toolbar. |
Common options
| Item | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | In this text box, specify the name of the current run/debug configuration. This field does not appear for the default run/debug configurations. | |||||||||||||||||||||
| Share |
If this check box is selected, the run/debug configurations become available to the other team members.
The shared run/debug configurations are kept in separate xml files under .idea\runConfigurations folder, while the local run/debug configurations are kept in the .idea\workspace.xml. This field does not appear for the default run/debug configurations. | |||||||||||||||||||||
| Defaults | This node in the left-hand pane of the dialog box contains the default run/debug configuration settings. Select the desired configuration to change its default settings in the right-hand pane. The defaults are applied to all newly created run/debug configurations. | |||||||||||||||||||||
| Temporary configurations limit | Specify here the maximum number of temporary configurations to be stored and shown in the Select Run/Debug Configuration drop-down list. | |||||||||||||||||||||
| Before Launch |
In this area, specify the actions to be performed prior to executing the current run/debug configuration.
|
.
and select the location in the dialog box, that opens.
and specify the variable name and value.
.
or
