4

I have just downloaded WebStorm 5.0 for testing with AngularJS, and I have a problem. I can't seem to figure out how to configure or add a server for my HTTP files.

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

I would like to know how I configure a web server in WebStorm. It seems it might be something to do with Run Configurations, but I have 2 options under JavaScript debug which are Local / Remote and then node and other things like that.

So I am little confused, does WebStorm not come with its own internal server?

Of course I have IIS installed on my PC but not available for the Mac, I was wondering if there was a built in server that was compatible with both or if something like that existed. Using Tomcat I think is overkill as I only require client hosting - i.e. no Java.

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

Any help would really be grateful.

Makoto
  • 100,191
  • 27
  • 181
  • 221
Martin
  • 23,074
  • 53
  • 198
  • 315

1 Answers1

4

UPDATE: Built-in HTTP server is available since WebStorm 6.0.


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

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

Community
  • 1
  • 1
CrazyCoder
  • 371,688
  • 155
  • 943
  • 850