[英]How do I configure Eclipse to launch a browser when Run or Debug is selected using Pydev plugin
I'm learning Python and Django using the Eclipse Pydev plugin. 我正在使用Eclipse Pydev插件学习Python和Django。 I want the internal or external browser to launch or refresh with the URL http:/127.0.0.1 when I press Run or Debug.
当我按Run或Debug时,我希望内部或外部浏览器使用URL http:/127.0.0.1启动或刷新。 I've seen it done with the PHP plugins but not Pydev.
我已经看到它使用PHP插件但不是Pydev。
Here are the steps to set up an external launch configuration to launch IE: 以下是设置外部启动配置以启动IE的步骤:
If you want to share the configuration you can use these optional steps: 如果要共享配置,可以使用以下可选步骤:
To rerun the configuration you have a few choices: 要重新运行配置,您有几个选择:
project properties (right click project in left pane) 项目属性(右键单击左窗格中的项目)
Go to "run/debug settings", add a new profile. 转到“运行/调试设置”,添加新配置文件。 Setup the path and environment etc... you want to launch.
设置路径和环境等...您要启动。 The new configuration will show up in your build menu.
新配置将显示在您的构建菜单中。 You could also configure it as an "external tool"
您还可以将其配置为“外部工具”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.