IntelliJ IDEA 2017.2 Help

Incoming Connection Dialog

The dialog is available only when the PHP plugin is enabled. The plugin is not bundled with IntelliJ IDEA, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.

The dialog box opens when you initiate a Zero-Configuration debugging session without previously configuring a Debug Server with path mappings, so the debugger cannot set correspondence between the scripts in the running application and the files in your IntelliJ IDEA project.

The upper psrt of the dialog box is read-only and shows the host and port where the script is executed, the path to the script relative to the server document root, and the absolute path to the script on the server.

In this dialog box, either specify the path mappings manually or import them from the relevant deployment configuration. Learn more at Creating a PHP Debug Server Configuration, Configuring Synchronization with a Web Server, and Zero-Configuration Debugging.

To continue debugging with the imported or manually specified configuration settings, click Accept.

Import mappings from deployment Choose this option to use the mappings specified in a server access configuration (deployment configuration.).
  • Project: this read-only field shows the name of the current IntelliJ IDEA project.
  • Deployment: from this drop-down list, choose the deployment configuration to import the mappings from. If IntelliJ IDEA detects a deployment configuration which seems relevant, the configuration is preselected in the Deployment drop-down list.

    If IntelliJ IDEA does not detect a relevant configuration:

    1. Choose the most suitable configuration from the drop-down list or click browseButton and create a new configuration in the Deployment dialog box that opens, whereupon the new configuration is added to the list.
    2. In the Deployment root text box, type the absolute path to the server root folder.

  • Preview: this area shows the absolute path to the project file which corresponds to the currently executed script according to the mappings from the selected configuration.
Manually choose local file or project When you select this option, IntelliJ IDEA displays the project tree view where you can select a project file and map the currently executed script to it. You can also select and map the entire project.
Last modified: 29 November 2017

See Also