2

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?

koolkat
  • 706
  • 3
  • 8
  • 23

1 Answers1

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