Run Configuration for simple HTML5 / CSS / Javascript Web Project

Answered

Consider a simple web app with one file each for HTML, CSS, and Javascript.. When viewing the HTML in PHPStorm, you can mouse to the top-right of the editor to get various browser buttons to test it.

However, if you are editing the CSS or Javascript, this is not available. So it would be nice to be able to set up a run configuration that launched the HTML in a particular browser from whatever file you were editing.

Is this possible, and if so how? I've attempted to add/edit configurations, but all the options are labeled for technologies (PHP, Node, etc) that I am not using.

Thanks.

0
2 comments

You can use a JavaScript Debug configuration for that: http://recordit.co/mhF8oy5WHG

1

Please sign in to leave a comment.