Built-in Server in WebStorm 6

Have you ever started writing an app only to realize that you need a simple local webserver?

Never fear, WebStorm 6 is here!

Simply open “http://localhost:63342/”, append your project name, and WebStorm will serve up your site for you!

For example, if you’re working in a project called “WebStorm6Features”, you would open: http://localhost:63342/WebStorm6Features

Needless to say, you can easily debug JavaScript code – just create a run configuration in the context menu on an HTML file. No additional URL mappings are required.

Please download the latest build, provide your feedback for bugs and feature requests here, and leave questions in the comments below or in our forums!

Develop with pleasure!
-JetBrains WebStorm Team

This entry was posted in Cool Feature and tagged . Bookmark the permalink.

22 Responses to Built-in Server in WebStorm 6

  1. Denis says:

    Testing out project with Built-in Server in WebStorm 6 in Google Chrome lead to browser freeze. (even can’t open developer tools).
    Looks like there is some request per second limit. Because later requests hang on ‘penging’ state (with 0 bytes revived according to Chrome dev tools ‘network’ tab).

  2. Carlos says:

    Does this feature work for web projects in IDEA? If so, must one enable a specific plugin for it to work? Version required?

  3. harmony7 says:

    This is a cool feature, but is there any way to set it up so that the site gets served from the root of the server? (i.e., http://localhost:63342/ instead of http://localhost:63342/projectname/)

    I know it’s not the best practice but just the project I happen to be working on refers to resources from the root (such as “/js/app.js”) rather than a relative path (“./js/app.js”) and it’s not something I have control over.

  4. Henning says:

    Is there any way (yet) to use this in IDEA as well?
    Or do I have to wait for IDEA 13 (which, sadly, is still sooo far away)?

  5. Gijs says:

    The tutorial is incorrect according to my experience. In WebStorm 6.02 the debug url for this example must be ‘http://localhost:63342/WebStorm6Features/index.html’ (include the html file).
    Took me a long time to find this…
    Hopefully this saves other people some time…
    And please JetBrains: also add ui tests to your project development.

  6. Carlos Crosetti says:

    U can see the built-int web server up and running in WS 6, but in this thread I see it is workig with EAP 7… is it available for Live Edit?

  7. Aron says:

    http://localhost:63342/folder how to set to be http://localhost/folder, because the former don’t work.

Leave a Reply

Your email address will not be published. Required fields are marked *