WebStorm server preferred over configured server
Hi Everyone,
After upgrading to WebStorm 9, I noticed that it no longer respected/used my default server. That is, when I'm in foo.html and hit Alt-F2 and choose any browser, WebStorm uses its own server (localhost:63342) rather than the server I have set up (localhost:8000). This despite going into Settings > Build, Execution, Deployment > and setting up a server and clicking on Mappings > Use this server as default.
In WebStorms 7 and 8 I could use Alt-F2 or click on one of the browser icons and my default server (not WebStorm's) would be used.
Now, I can go into Run -> Edit Configurations and set up a new JavaScript Debug configuration using localhost:8000. But I have a lot of HTML files and I don't want to have to do that for each one.
Does anyone know why WebStorm is preferring its default server over my server when viewing files?
(As an additional fun note, if I go to foo.js, or really any JS file, and hit Alt-F2, it is served up on localhost:8000! Not much use, of course, since I'm seeing it as plaintext, but still. WEIRD.)
Please sign in to leave a comment.
Same story in PhpStorm v8: default server works for .php/.js but not for .html.
Seems like .html files have received too much love from devs and now they're hardcoded to use built-in server only ...
Please vote for https://youtrack.jetbrains.com/issue/WEB-13981
Done. Thanks, Elena!
This issue greatrly affects my daily workflows, Is there a workaround for this issue?