Debug ES6 with Webstorm (Babel)

With webstorm v10, the babel file observer works fine, and all is well.

Now I want to debug the code, somehow debug the ES6 file itself, or do it on a compiled JS file in the output file of the JS?

Please inform.

+6
source share
1 answer

There was a problem with the Jetbrains ticketing system . I think this problem is resolved. Also see the corresponding GitHub issue in the Babel repository.

There is an example example on the Jetbrains blog , mainly setting flags for dummies, such as --source-maps .

This may be a duplicate .

+1
source

Source: https://habr.com/ru/post/989930/


All Articles