Skip to content

WebStorm Setup

mkemp676 edited this page Dec 15, 2017 · 1 revision

Linting / Code Style

To enable code style and linting go to Settings and search for ESLint. Set the package as follows (this may already have been automatically added)

For live syntax checking go to Settings > Editor > Code Style > JavaScript

Click the Set From... link and set Predefined Style to JavaScript Standard Style

Enable NodeJs Core Library

Add the Core NodeJs Library so that WebStorm recoginses them.

Go to Settings > Language & Frameworks > Node.js and NPM. Click Enable.

Running / Debuging

To set up a new run / debug configuration click Edit Configurations... at the top right of WebStorm

Click + and select Node.js

Most of the configuration should be filled in but make sure the JavaScript file is set to server.js

Click OK and you should now be able to run and debug the server-side JavaScript by using the buttons on the toolbar.

Clone this wiki locally