-
Notifications
You must be signed in to change notification settings - Fork 0
WebStorm Setup
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
Add the Core NodeJs Library so that WebStorm recoginses them.
Go to Settings > Language & Frameworks > Node.js and NPM. Click Enable.
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.