IntelliJ IDEA 11.1 Web Help

9.0+
Some features described here are available in Ultimate edition only.

Use this dialog box to configure running and debugging of PHP applications on a remote server.

Click here for the description of the options that are common for all run/debug configurations.

Item Description
Name In this text box, specify the name of the current run/debug configuration.
Server Use this drop-down list to specify the Web server configuration to use. The list shows all the configurations that are currently available in IntelliJ IDEA.
browseButton Click this button to open the Servers page and view the details of the selected configuration there.
Start URL In this area, compose the URL address to access the application through. In the Start URL text box, specify the local file that implements the starting page of the application. Type the path to the desired file relative to the folder that is mapped to the root folder of the target host. IntelliJ IDEA concatenates the host root URL with the specified relative path and shows the URL address of the application starting page in the read-only field below.
Browser From this drop-down list, select the Web browser to open the application in.
Debug Use the controls in this area to configure behaviour of the debugging tool.
  • Break at the first line - select this check box to have the debugging tool stop at the first line of the source code.

Toolbar

Item Keyboard shortcut Description
add InsertInsert Click this button to add new configuration to the list.
delete DeleteDelete Click this button to remove the selected configuration from the list.
copy Ctrl+DCommand D Click this button to create a copy of the selected configuration.
settings Edit Defaults Click this button to edit the default configuration templates. The defaults are used for the newly created configurations.
arrowUp arrowDown UpUp
DownDown
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
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 activities to be performed before starting the current configuration. The available options are:
  • Build Artifacts - if this check box is selected, the specified artifacts will be built prior to running or debugging. To define the artifacts to be built, click the Browse button browseButton and select the desired artifact from the list of artifacts configured for the current module. To learn more about configuring artifacts, refer to Artifacts section.
  • Run Ant target - if this check box is selected, the specified Ant target will be built prior to running or debugging. To define an Ant target, click Browse button browseButton and select the desired target from the list of existing targets. To learn more about Ant support, refer to Ant Support section.
  • Run Maven goal - if this check box is selected, the specified Maven goal will be executed prior to running or debugging. To define a Maven goal to be executed, click Browse button browseButton and select the desired goal from the list. To learn more about Maven support, refer to Maven Support section.
  • Run Phing target - if this check box is selected, the specified Phing target will be executed prior to running or debugging. To appoint a Phing target, click the Browse button browseButton and select the desired target in the Choose Phing Target to Execute dialog box, that opens.
  • Upload files to Remote Host - select this check box to have files uploaded to a remote host of your choice through FTP or SFTP protocol. To define the folders to be uploaded, click the Browse button browseButton and select the desired folder in the Choose Local Paths to Upload dialog box that opens.
  • Show Settings - select this check box to have the Run/Debug Configurations dialog box shown every time you launch this run/debug configuration. If this check box is cleared, the run/debug configuration starts silently.
Share configuration If this check box is selected, the run/debug configurations become available to the other team members.

In case of the standard project format, the run/debug configurations will be stored in the .ipr file, which is usually shared through the version control, rather than .iws.

In case of the directory-based project format, 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.

See Also

Concepts:

Procedures:

Reference:

Web Resources: