Use this page to configure the behaviour of the Xdebug and Zend Debugger debugging tools.
Show array and object children in Debug Console:
Select this check box to show the output for arrays and objects in the Debug Tool Window. Console.
The output will be wrapped in the var_export() function.
Safe evaluation mode in value hints and Watches Frame:
When this check box 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 check box is cleared, an exception appears if PhpStorm encounters any undefined elements during evaluation.
In this area, customize local debugging, when the processed files are on your machine.
Pass required configuration options through command line (still need to enable debug extension manually): select this check box to have debugger configuration options passed through a command line.
In this area, specify how you want PhpStorm to treat connections received from hosts and through ports that are not registered as server configurations.
Ignore external connections through unregistered server configurations: Select this check box to have PhpStorm ignore connections received from hosts and through ports
that are not registered as server configurations.
When this check box is selected, PhpStorm does not attempt to create a server configuration automatically.
Detect path mappings from deployment configurations:
When this check box is selected, PhpStorm attempts to retrieve path mappings
for debugging in a remote environment
from the server access configuration (deployment configuration).
When the check box is cleared, you have to specify the path mappings manually.
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 check box 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:
If this check box is selected and the debugger 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.
If the check box is cleared and the debugger opens an unmapped file, the debugger does not stop, the file is just processed,
and no error messages are displayed.
Force break at the first line when the script is outside the project
If this check box is selected and the debugger reaches and opens a file outside the current project, the debugger stops at the first line.
If the check box is cleared and the debugger opens a file outside the current project, the debugger continues.
Use the controls in this area to configure debugging using the Zend Debugger tool.
Notify if debug session was finished without being stopped: Select this check box 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 the Run | Break at First Line in PHP Scripts option on the main menu may also help.
If the check box is cleared, no debugging sessions is established and the PHP script is just executed without being suspended.