AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Phpstorm debugger11/27/2023 For details, see Zend Debugger - Configuration DirectivesĬan 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 field. Type the port number within the tunnel specified in the php.ini file through zend_debugger.tunnel_min_port and zend_debugger.tunnel_max_port. Use the controls in this area to configure debugging using the Zend Debugger tool.ĭebug port: in this field, specify the port for PhpStorm and the Zend Debugger engine to communicate through. With this checkbox cleared, the debugger continues upon opening a file outside the current project.Įnable return function value debugging (Xdebug 3.2+): select this checkbox to add an extra debugging step for inspection of return values in functions that return them immediately without storing in intermediate variables. Note that the feature works only when the Resolve breakpoint if it's not available on the current line (Xdebug 2.8+) checkbox is enabled.įorce break at first line when a 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. Move breakpoint to resolved position if it's different from the source: select this checkbox to enable automated adjustment of the breakpoint position to the line where Xdebug actually stops after resolving the breakpoint. When this checkbox is cleared, the debugger does not stop upon reaching and opening an unmapped file, the file is just processed, and no error messages are displayed. Click the link to open the Resolve Path Mappings Problem dialog and map the problem file to its local copy. The debugger stops at the first line of this file and Examine/update variables shows the following error message: Cannot find a local copy of the file on server and a link Click to set up mappings. Xdebug will scan up to 5 subsequent lines, stop at the line where executable code is located, and update the breakpoint definition to this line.įorce break at first line when no path mapping 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. If there is no such code on the line that the breakpoint refers to, the corresponding breakpoint cannot be hit. Under this mechanism, the debugger evaluates whether PHP can generate internal executable bytecode for the current line. Resolve breakpoint if it's not available on the current line (Xdebug 2.8+): if selected, support for the Xdebug breakpoints resolving mechanism will be enabled in PhpStorm. By default, the Debug port value is set to 9003,9000 to have PhpStorm listen on both ports simultaneously.Ĭan 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 field. You can specify several ports by separating them with a comma. For Xdebug 3, the default port has changed from 9000 to 9003. This must be the same port number as specified in the php.ini file:īy default, Xdebug 2 listens on port 9000. Use the controls in this area to configure debugging using the Xdebug tool.ĭebug port: in this field, specify the port for PhpStorm and the Xdebug engine to communicate through. simultaneous connections: use this spin box to limit the number of external connections that can be processed simultaneously. Alternatively turn on the Run | Break at first line in PHP scripts option from the main menu. When this checkbox is selected, PhpStorm does not attempt to create a deployment server configuration automatically.īreak 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). 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. 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. This area shows brief guidelines for installing a debugger, generating bookmarklets through which you will start/stop a debugging session by controlling the debugger cookie, and starting Zero-configuration debugging.
0 Comments
Read More
Leave a Reply. |