RubyMine 2018.1 Help

Run/Debug Configuration: Heroku Deployment

Run | Edit Configurations | new | 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 browseButton (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
new 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 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.
delete Alt+Delete Click this icon to remove the selected task from the list.
edit1 EnterClick this icon to edit the selected task. Make the necessary changes in the dialog that opens.
arrowUp arrowDownAlt+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
newAlt+InsertCreate a run/debug configuration.
deleteAlt+DeleteDelete the selected run/debug configuration.
copyCtrl+DCreate a copy of the selected run/debug configuration.
settingsView and edit the default settings for the selected run/debug configuration.
arrowUparrowDownAlt+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.

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

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

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

To remove grouping, select a folder and click delete.

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

Last modified: 1 August 2018

See Also