

To run the configuration right away, click Run. You can either run the configuration right away, or save the configuration to run it later.Ĭlick OK to save the run configuration for later and close the dialog. In the Before launch section, define whether you want to perform any specific actions before launching the application, for example, execute some tools or scripts prior to launching the run/debug configuration.įor more information about particular Before launch activities, refer to Before launch The list of mandatory and optional parameters may vary depending on the selected run/debug configuration type.įor the detailed description of the selected template, see the respective section of run/debug configurations reference.

Set the run/debug configuration parameters. If this option is disabled, attempting to re-run the configuration will terminate the active session. Select Allow multiple instances if you want to allow multiple instances of the configuration to run at the same time. This name will be shown in the list of the available run/debug configurations. Specify the run/debug configuration name in the Name field. If you are not sure which template to choose, refer to Run/debug configurations dialog for more information on particular templates. The list shows the run/debug configuration templates. In the Run/Debug Configuration dialog, click on the toolbar or press Alt+Insert. Alternatively, press Alt+Shift+F10, then 0. Create a run/debug configuration from a template The list of available templates varies depending on the installed and enabled plugins. PhpStorm provides run/debug configuration templates for different languages, tools, and frameworks. Select a temporary configuration in the run/debug configuration switcher, click /, and select Save Configuration.Īlternatively, select a temporary configuration in the Run/debug configurations dialog and click on the toolbar. Save a temporary configuration as permanent


PhpStorm creates a permanent run/debug configuration of the corresponding type and opens a dialog in which you can set configuration parameters. In the editor, place the caret at an executable declaration (for example, a test method or class) and press Alt+Enter.įrom the menu that opens, select Modify Run Configuration. Save a temporary run/debug configuration as permanent.Ĭreate from a template or copy an existing configuration.Ĭreate a permanent run/debug configuration from the editor PhpStorm provides the following ways to create a permanent run/debug configuration:įor executable declarations (classes, methods, data providers, etc.) in tests or task runners, you can create a permanent run/debug configuration right from the editor. Create permanent run/debug configurations If necessary, you can increase this limit in Settings | Advanced Settings | Run/Debug | Temporary configurations limit. The older ones are automatically deleted when new ones are added. The maximum number of temporary configurations is 5. Permanent configurations have opaque icons while the icons of temporary configurations are semi-transparent. So whenever you run/debug or test your code, PhpStorm either uses an existing permanent run/debug configuration or creates a new temporary one. Permanent configurations remain as part of your project until you remove them. Permanent - created explicitly from a template or by saving a temporary configuration. To call the context menu, right-click an object or an area. Temporary - created every time you select Run from the context menu. There are two types of run/debug configurations: Each configuration is a named set of startup properties that define what to execute and what parameters and environment should be used. PhpStorm uses run/debug configurations to run, debug, and test your code.
