RubyMine 2017.1 Help

Run/Debug Configuration: Heroku Deployment

This feature is supported in the Ultimate edition only.

Run | Edit Configurations | /help/img/idea/2017.1/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 check box to share the run configuration through version control.

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

If the check box 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 check box, 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.1/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 check box 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.1/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 Support.

  • 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.1/delete.png Alt+Delete Click this icon to remove the selected task from the list.
/help/img/idea/2017.1/edit1.png EnterClick this icon to edit the selected task. Make the necessary changes in the dialog that opens.
/help/img/idea/2017.1/arrowUp.png /help/img/idea/2017.1/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 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 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.1/new.pngAlt+InsertCreate a run/debug configuration.
/help/img/idea/2017.1/delete.pngAlt+DeleteDelete the selected run/debug configuration.
copyCtrl+DCreate a copy of the selected run/debug configuration.
/help/img/idea/2017.1/settings.pngView and edit the default settings for the selected run/debug configuration.
/help/img/idea/2017.1/arrowUp.png/help/img/idea/2017.1/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.1/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.1/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.1/arrowUp.png and /help/img/idea/2017.1/arrowDown.png. You can also drag a configuration into a folder.

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

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

See Also

Last modified: 18 July 2017