Creating and Saving Temporary Run/Debug Configurations
Sometimes you might need to run or debug a certain class or file without creating a dedicated run configuration. In this case, you can use the temporary run configuration provided by PhpStorm.
Temporary run/debug configuration is added to the list of available configurations and works same way as the permanent run/debug configuration. You can change its settings using the Run/Debug Configuration dialog box and optionally save it as permanent.
Creating a temporary run/debug configuration
- Select the desired PHP class or file in the Project tool window or open it in the editor.
- Do one of the following:
- On the context menu, choose or .
- Press Ctrl+Shift+F10.
- On the submenu, choose the temporary run/debug configuration you would like to create:
- Click to create the JavaScript Debug configuration, which is used for debugging JavaScript in applications running on the built-in or on an external web server and for debugging Dart web applications.
- Click to create the PHP Script configuration, which is used for running and debugging of single PHP files locally using a PHP console.
Saving a temporary run/debug configuration
- In the Run/Debug Configuration selector, choose .
- In the Run/Debug Configuration dialog box, click .
- On the context menu of the editor or Project view, choose .
Last modified: 29 March 2018