I am using Pycharm to build an app in ReactJS and webpack-dev-server to serve the content. I see an error in my browser console and in order to debug, when I click on sources, I can only see the <javascript_file>.min.js and not my actual source code files. How do I go about debugging here?
-
1What are you using to transpile your JS?KA01– KA012017-06-15 01:59:36 +00:00Commented Jun 15, 2017 at 1:59
-
I'm using webpackkoolkat– koolkat2017-06-15 19:05:53 +00:00Commented Jun 15, 2017 at 19:05
Add a comment
|
1 Answer
If you enable sourcemaps in your webpack settings, you'd be able to see the specific file when you are debugging.