The Run menu allows you to get maximum efficiency and accuracy from your files and projects through analyzing and testing your code using the Debugging and Run functions.
Running a file or application will display the output in the Browser and Debug Output views, as well as displaying any error or warning messages in the console view.
Debugging a file or application allows you to view the output and any error notices, as well as information about various elements, at various stages while the file is run. For more information on Debugging, see Debugging Files and Applications.
The options available from the Run menu are:
Name | Shortcut | Description |
---|---|---|
Run | Ctrl+F11 | Launches the last launched Run configuration. |
Debug | F11 | Launches the last Debug session run. |
Run History | Displays and allows access to a list of previously launched Run configurations. | |
Run As | Lets you choose from running: on the server, as a PHP Script, or as a PHP Web Page. | |
Open Run Dialog... | Launches the Run dialog for creating / editing Run configurations. | |
Debug History | Displays a list of Debug configurations so that they can be used for debugging. | |
Debug As | Lets you choose from debugging: on the server, as a PHP Script, or as a PHP WebPage. For more on these options, see Debugging . | |
Open Debug Dialog... | Launches the Debug dialog to create /edit debugging configurations. | |
Toggle Breakpoint | Ctrl+Shift+B | Adds / removes breakpoints from your script. Breakpoints are used to stop the debugging process at certain key places throughout your code. |
Toggle Line Breakpoint | Adds / removes line breakpoints from your script. | |
Toggle Method Breakpoint | Adds / removes method breakpoints from your script. Method breakpoints are used to add conditions to breakpoints. | |
Toggle Watchpoint | Adds / removes a field watchpoint for the current selected variable in the Expressions View. | |
Skip All Breakpoints | Allows you to temporarily remove all breakpoints from your script so that the debugging process will not stop at them. Select this function again to return all breakpoints to the script. | |
Remove All Breakpoints | Removes all breakpoints from the current active file. | |
Launch the Web Services Explorer | Launches the Web Services Explorer. See ' Launching the Web Services Explorer ' in the Web Application Development User Guide for more information. | |
External Tools | Run As If applicable, allows you to run the file using External tools. Open External Tools Dialog Opens the configuration dialog for running a file using external tools. Organize Favorites Opens a dialog allowing you to organize your external tools. See the External Tools topic in the Workbench User Guide for more information. |