RubyMine 2017.3 Help

Run/Debug Configuration: Heroku Deployment

This feature is supported in the Ultimate edition only.

Run | Edit Configurations | /help/img/idea/2017.3/new.png | Heroku Deployment


Heroku Deployment run/debug configurations let you deploy your code to Heroku. They also let you debug your applications.

To make Heroku Deployment run/debug configurations available, you must download and install the Heroku integration plugin, see Installing, Updating and Uninstalling Repository Plugins.

Main settings

Item Description
Name The name of the run configuration.
Share Select this checkbox to share the run configuration through version control.

If the checkbox is not selected, the run configuration settings are stored in .idea/workspace.xml.

If the checkbox is selected, the settings are stored in a separate .xml file in .idea/runConfigurations or in the .ipr file.

Single instance only If you select this checkbox, only one instance of the run configuration will run at a time.
Server Select the cloud access configuration to be used.

To create a new configuration, or to edit an existing one, click /help/img/idea/2017.3/browseButton.png (Shift+Enter). For more information, see .

Deployment Select the project to be deployed.
Use custom application name By default, your application will have about the same name as the project. To specify a different name, select the checkbox and specify the name in the field. (The application name defines its URL, https://<app-name>.herokuapp.com/.)
Debug Host An Internet routable IP address of your computer or that of a router that redirects the debug connection from Heroku onto your local host.
Debug Port The port to be used for debugging. This may be any unused port on your computer.

Before Launch options

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

ItemShortcutDescription
/help/img/idea/2017.3/new.png 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 RubyMine. In the dialog that opens, select the application or applications that should be run. If the necessary application is not defined in RubyMine yet, add its definition. For more information, see Configuring Third-Party Tools and External Tools.
  • Run Another Configuration. Select this option to execute another run/debug configuration. In the dialog that opens, select the configuration to be run.
  • 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 Remote External Tool. Select this option to run a remote application which is external to RubyMine. In the dialog that opens, select one or more remote applications to be run. If the necessary applications are not defined in RubyMine yet, add their definitions. For more information, see Configuring Third-Party Tools and External Tools.
/help/img/idea/2017.3/delete.png Alt+Delete Click this icon to remove the selected task from the list.
/help/img/idea/2017.3/edit1.png EnterClick this icon to edit the selected task. Make the necessary changes in the dialog that opens.
/help/img/idea/2017.3/arrowUp.png /help/img/idea/2017.3/arrowDown.pngAlt+Up/Alt+DownClick 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 pageSelect this checkbox to show the run/debug configuration settings prior to actually starting the run/debug configuration.
Activate tool window If this checkbox is selected, the Debug tool window opens when you start the run/debug configuration in the debug mode.

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

Toolbar

ItemShortcutDescription
/help/img/idea/2017.3/new.pngAlt+InsertCreate a run/debug configuration.
/help/img/idea/2017.3/delete.pngAlt+DeleteDelete the selected run/debug configuration.
copyCtrl+DCreate a copy of the selected run/debug configuration.
/help/img/idea/2017.3/settings.pngView and edit the default settings for the selected run/debug configuration.
/help/img/idea/2017.3/arrowUp.png/help/img/idea/2017.3/arrowDown.pngAlt+Up/Alt+DownMove 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.

/help/img/idea/2017.3/folder.pngYou can group run/debug configurations by placing them into folders.

To create a folder, select the configurations to be grouped and click /help/img/idea/2017.3/folder.png. Specify the name of the folder.

Then, to move a configuration into a folder, between the folders or out of a folder, use /help/img/idea/2017.3/arrowUp.png and /help/img/idea/2017.3/arrowDown.png. You can also drag a configuration into a folder.

To remove grouping, select a folder and click /help/img/idea/2017.3/delete.png.

See also, Creating Folders and Grouping Run/Debug Configurations.

See Also

Last modified: 15 September 2017