Debugging with Webpack Dev Server

Hi. How can I get debug messages to point to the code I'm writing...not what webpack is compiling?


I can get the Javascript debugger to work...the issue is is that debugging points to a webpack:// location...not the javascript files I'm debugging. 

I'm (very) new to javascript and webpack....any help/push in the right direction is appreciated. Webpack and Javascript are working...I'd love the same lovely debugging Pycharm power I get when writing Python--my main language.

1 comment
Comment actions Permalink

To debug an app bundled with webpack, ensure that the source maps are enabled in your webpack.conf.js, specify the URL your app is running on in the JavaScript debug configuration and you’re ready to go... Looks as if the source maps are either missing or not accurate. Can you share a sample project that shows up your issue?


Please sign in to leave a comment.