An open API service indexing awesome lists of open source software.

https://github.com/geyang/webstorm_debugging_example


https://github.com/geyang/webstorm_debugging_example

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Setting up ES6 Debugging with JetBrains WebStorm

First try to run the `test.js` script by pressing Ctrl + Shift + R with the `test.js` script open.

And there is this error message:
**Note**: disable ESLint by Command
![./figures/error-before-setup.png](./figures/error-before-setup.png)

The reason this happens is because node can not resolve `es6` module syntax without using michael jackson module.

Like this:
![./figures/setting-babel-register.png](./figures/setting-babel-register.png)

Now everything should run!

## Making it the way you like

You can change the key binding like this: press command + ,

![./figures/changing-keybindings.png](./figures/changing-keybindings.png)

I personally use command + I for running current execution task, and shfit + command + I

## Using `yarn` for package management

Choose the global yarn according to this screenclip:
![./figures/setting-up-yarn.png](./figures/setting-up-yarn.png)