Just wasted a few hours of head bashing of what should be a trivial debug configuration.
I created a new Static Web project using IDEA 13.1.4 .
I have a subdirectory that I must make the web root in a Javascript debug config for single page JS app.
I'm not using Java or Node or anything else just vanilla HTML at this stage.
So my page must open in the browser as http://localhost:port/index.html - Simple stuff yeah?
All the configurations I've attempted (including using a Module for the web subdirectory) open it as http://localhost:port/www/index.html or fail to open the port number.
What's the recommended process for this?