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?

2
  • 1
    What are you using to transpile your JS? Commented Jun 15, 2017 at 1:59
  • I'm using webpack Commented Jun 15, 2017 at 19:05

1 Answer 1

2

If you enable sourcemaps in your webpack settings, you'd be able to see the specific file when you are debugging.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.