WebStorm: HTTP server settings locally and cross-platform

I just downloaded WebStorm 5.0 for testing using AngularJS and I have a problem. I cannot figure out how to configure or add a server for my HTTP files.

I am currently using a PC with Windows 7, but I am also using a Mac.

I would like to know how to set up a web server in WebStorm. It seems like this could be related to Run Configurations, but I have 2 options under JavaScript debugging which are local / remote and then node and other similar things.

So I'm a bit confused if WebStorm is working with its own internal server?

Of course, I have IIS installed on my PC, but not available for Mac, I was wondering if there was an embedded server that was compatible with both, or if something like that existed. Using Tomcat, I think, is too great, since I only need client hosting, i.e. No Java.

I also hear a lot of talk about NodeJS, is it possible to host my WebStorm project locally on a NodeJS server? Not sure where to start here.

Any help would be truly appreciated.

+4
source share
1 answer

UPDATE : The embedded HTTP server is available with WebStorm 6.0.


WebStorm does not come with any HTTP server, you need to install it yourself. There is a guide for debugging JavaScript on Windows . On a Mac, you can use Apache or any other server.

It should be possible to use Node.js to start a simple HTTP server: Using Node.js as a simple web server .

+3
source

Source: https://habr.com/ru/post/1435737/


All Articles