Is there an up to date guide on getting step-through debugging in Webstorm (2019.2) working?
I'll be honest, debugging with WS has always been very hit or miss for me: Previously i've only been able to get it to work by starting things in a very specific order (and even then it's been very temperamental). Also the role of the JB webstorm plugin has always been unclear - i had read in some release notes that it was no longer required, and yet, i'd certainly never been able to get it work without.
Now i'm using Webpack however, and i can never get anything to break so i can step through, and its now rather critical that i be able to debug properly. So:
- do i need the JB plugin?
- do i need to run with specific browser?
- i'm using devtool: 'source-map' in my webpack config... is there something else required?
- can i use webpack-dev-server as the command?
- What should 'Debug ...' do (it doesn't seem to do anything but run it for me). Do I need to have another run configuration to start some debugger beforehand? (this was the only way previously i could get things to break).
My apologies if this is all clear somewhere. I have searched and found links, but many either don't work for me, or seem to be outdated.
Thanks so much for any help!