In this area, specify how you want PhpStorm to treat connections received from hosts and through ports that are not registered as deployment server configurations.
Ignore external connections through unregistered server configurations: Select this checkbox to have PhpStorm ignore connections received from hosts and through ports that are not registered as deployment server configurations. When this checkbox is selected, PhpStorm does not attempt to create a deployment server configuration automatically.
Break at first line in PHP scripts: Select this checkbox to have the debugger stop as soon as connection between it and PhpStorm is established (instead of running automatically until the first breakpoint is reached). Alternatively turn on the Run | Break at first line in PHP scripts option on the main menu.
Max. simultaneous connections: Use this spin box to limit the number of external connections that can be processed simultaneously.
Use the controls in this area to configure debugging using the Xdebug tool.
Debug port: in this text box, specify the port for PhpStorm and the Xdebug engine to communicate through. This must be exactly the same port number as specified in the php.ini file:
xdebug.remote_port = <port_number>
By default, Xdebug listens on port 9000.
Can accept external connections: select this checkbox to enable PhpStorm to accept any incoming connections from Xdebug engines through the port specified in the Debug port text box.
Force break at the first line when no path mapping is specified: Select this checkbox to have the debugger stop as soon as it reaches and opens a file that is not mapped to any file in the project on the Servers page. The debugger stops at the first line of this file and Debug Tool Window. Variables shows the following error message: Cannot find a local copy of the file on server <path to the file on the server> and a link Click to set up mappings. Click the link to open the Resolve Path Mappings Problem dialog box and map the problem file to its local copy.
When this checkbox cleared, the debugger does not stop upon reaching and opening an unmapped file, the file is just processed, and no error messages are displayed.
Force break at the first line when the script is outside the project: Select this checkbox to have the debugger stop at the first line as soon as it reaches and opens a file outside the current project. With this checkbox cleared, the debugger continues upon opening a file outside the current project.
Use the controls in this area to configure debugging using the Zend Debugger tool.
Can accept external connections: Select this checkbox to enable PhpStorm to accept any incoming connections from Zend Debugger engines through the port specified in the Debug port text box.
Settings broadcasting port: In this text box, specify the port through which the debugger settings are passed to the debugging toolbar in the browser.
Automatically detect IDE IP: when this checkbox is selected, PhpStorm detects all the host IP addresses to be sent to Zend Debugger through the debug_host parameter. All the detected IP addresses are listed in the text box to the right. Autodetection of IP address is helpful when you use Vagrant, or VirtualBox, or other virtualization tool. Clear the checkbox to block autodetection of host IP addresses and specify the required ones explicitly in the text box.
Ignore Z-Ray system requests: Select this checkbox to block requests from the Z-Ray system if they annoy you by invoking the PhpStorm debugger too often.
Show array and object children in Debug Console: Select this checkbox to show the output for arrays and objects in the Console pane, see Debug Tool Window. Console. When the checkbox is cleared, the output is not displayed.
Safe evaluation mode in value hints and Watches Frame:
When this checkbox is selected, PhpStorm checks that the expression or code fragment to be evaluated does not contain any undefined elements and informs you about any discrepancies detected.
If the checkbox is cleared, an exception appears if PhpStorm encounters any undefined elements during evaluation.
Import namespace and use statements from evaluation context: When this checkbox is selected, during a debugging session PhpStorm is aware of the current namespace and of all the imported namespaces at the execution point. This information is used for calculating and showing Watches and Evaluating Expressions to ensure that PhpStorm debug evaluations are identical with the actual result of the PHP code execution. By default, the checkbox is selected.
The result of executing the following code is true (or showing 1 in the browser):
If the Import namespace and use statements... checkbox is selected, evaluating the $my_car instanceof Car expression and the $my_car instanceof Car watch will also show this result: However if you clear the checkbox, Watches and Evaluate Expression will be executed in the global context. This means that instead of $my_car instanceof Car you will need to use the fully qualified class name $my_car instanceof \Too\Car\Car.
Detect path mappings from deployment configurations:
When this checkbox is selected, PhpStorm attempts to retrieve path mappings for debugging in a remote environment from the server access configuration (deployment configuration).
When the checkbox is cleared, you have to specify the path mappings manually.
Notify if debug session was finished without being stopped: Select this checkbox to have PhpStorm display a notification when no breakpoints are hit during Zero-Configuration debugging. This may happen if the path mappings are not configured or configured erroneously, or if you have not set any breakpoints. In the latter case, enabling selecting the Break at First Line in PHP Scripts checkbox in the External Connections area or turning the Run | Break at First Line in PHP Scripts option on the main menu may also help.
If the checkbox is cleared, no debugging sessions is established and the PHP script is just executed without being suspended.
Pass required configuration options through command line (still need to enable debug extension manually): select this checkbox to have debugger configuration options passed through a command line.