转自:http://www.bubuko.com/infodetail-1420190.html

这东东中文资料太少- -鼓捣了好久才有结果

点击File-Settings-Deployment 。

点+按钮增加服务器

PhpStorm11.0 配置在浏览器中打开文件

 

PhpStorm11.0 配置在浏览器中打开文件

Mapping 设置工程路径等

PhpStorm11.0 配置在浏览器中打开文件

点击 Run->Edit Configurations

PhpStorm11.0 配置在浏览器中打开文件

配置PHP HTTP Request

PhpStorm11.0 配置在浏览器中打开文件

然后点击+ - PHP Web Application

PhpStorm11.0 配置在浏览器中打开文件

 

然后右键文件,点击 Open in Browser XXXXXX on XXXX

PhpStorm11.0 配置在浏览器中打开文件

或者在编辑界面鼠标移动到右上角,会显现出浏览器图标。点击即可打开

PhpStorm11.0 配置在浏览器中打开文件

再或者在编辑界面按Alt + F2 进行选择

PhpStorm11.0 配置在浏览器中打开文件

--------------------------------华丽的分割线-----------------------------------------

剩下的是点击运行按钮打开浏览器的配置。可以不配

配置Start URL。Server和Browser可以打开...设置

PhpStorm11.0 配置在浏览器中打开文件

Server配置,如果上面配了那这边就不用配了

PhpStorm11.0 配置在浏览器中打开文件

Broswer配置

PhpStorm11.0 配置在浏览器中打开文件

点运行~浏览器跑出来啦

相关文章:

  • 2021-12-31
  • 2022-01-19
  • 2021-06-02
  • 2021-12-10
  • 2022-01-24
  • 2022-12-23
  • 2021-04-02
  • 2021-08-07
猜你喜欢
  • 2021-12-07
  • 2021-07-04
  • 2022-01-21
  • 2022-01-23
  • 2022-02-24
  • 2021-12-07
相关资源
相似解决方案