When you start debugging, the IDE takes the project root directory as the site root directory. How to tell her that the site root is the www subdirectory? It is necessary that the site opens not http: // localhost: 63342 / counter / www / index.html , but http: // localhost: 63342 / index.html .
1 answer
The embedded web server in WebStorm always uses http://localhost:63342/<project root> as the project's web path. This is necessary in order to support the possibility of simultaneous work with several projects. It is not possible to http://localhost:63342 it so that you can simply use http://localhost:63342 (so that you can use URLs and requests that begin with / ). But you can edit the hosts so that you can use http://<project_name>:<port> . See https://youtrack.jetbrains.com/issue/WEB-8988#comment=27-577559
|

URL/counter/www? - Vasily Barbashevindex.html. My duck is simplyurlhttp://localhost:8080/application/main. And everything worked fine when I last checked. There's also a plug-in he needs JB - Vasily Barbashev