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?
Asked
Active
Viewed 751 times
2

koolkat
- 706
- 3
- 8
- 23
-
1What are you using to transpile your JS? – KA01 Jun 15 '17 at 01:59
-
I'm using webpack – koolkat Jun 15 '17 at 19:05
1 Answers
2
If you enable sourcemaps in your webpack settings, you'd be able to see the specific file when you are debugging.

Mμ.
- 8,382
- 3
- 26
- 36