WebStorm project will be deployed to IIS

Open the project in WebStorm usually starts a virtual server and use port 63342, the address is: HTTP: // localhost: 63342 / test_05_configure_pop_ups.html
this will cause other devices on the LAN can not access this address, to develop and debug with to the inconvenience. The project code is distributed directly to the server, the server directly by calling

Solution:
assuming that the D drive to develop code on the computer, trying to publish a project to the server, the server can be accessed via an external address, it is achieved by the way.

  1. 首先 "File > Settings",找到 "Build, Execution, Deployment" > "Debugger".

  2. Mapping (Mappings) development code and server code

  3. Deploy the project to the server (localhost), pay attention to ensure that users have "write permissions" on the wwwroot directory on the server, or will fail to deploy

  4. To facilitate debugging, change the setup code automatically deployed to the server

Guess you like

Origin www.cnblogs.com/lqqgis/p/12643404.html