You have to use Google Chrome, and then you install a plug-in called: JetBrains IDE Support
Then your webstorm will have this:
super easy to use, never finish writing the code, after refreshing the browser, you can write the code on the left and see the result on the right, or get a monitor, which is super comfortable.