This procedure describes how to run a PHP Script from your workspace using PDT 's internal debugger.
To locally run a PHP Script:
- Click the arrow next to the Run button on the toolbar and select Run Configurations -or- go to Run | Run Configurations. A Run dialog will open.
- Double-click the PHP Script option to create a new run configuration.
- Enter a name for the new configuration.
- Select the required PHP executable. If no PHP Executables are listed, click the PHP Executable link and add a PHP Executable in the PHP Executable Preferences page. The PHP Executables must match the Debugger type.
- Under PHP File, click Browse and select your file
- Marking the 'Display debug information when running' checkbox will cause debug views to be displayed.
- If necessary, you can add arguments in the PHP Script Arguments tab to simulate command line inputs.
- Click Apply and then Run.
Your script will be run and displayed in a browser.