How do I configure Eclipse to launch a browser when Run or Debug is selected using Pydev plugin
Here are the steps to set up an external launch configuration to launch IE:
- Select Run->External Tools->External Tools Configurations...
- In the left hand pane, select Program then the new icon (left-most icon above the pane).
- In the right hand pane, select the Main tab.
- Enter launch_ie in the Name: field.
- Enter ${system_path:explorer.exe} in the Location: field.
- Enter http:/127.0.0.1 in the Arguments field.
- To run the external configuration, select Run.
If you want to share the configuration you can use these optional steps:
- Select the Common tab
- Select the Shared file: option in the Save As section.
- Select a location to save the configuration (saving it to an otherwise empty project might be a good idea, as you can import that to another workspace)
To rerun the configuration you have a few choices:
- Select the External Tools icon from the menu bar then click launch_ie
- Select Run->External Tools->launch ie
- Hit Alt+R, E, 1 (assuming launch_ie is the first item in the list, otherwise pick the appropriate number)