4 ms·
I miss those times. Every IDE had a line by line debugger. Now those Angular/React applications, even after years, do not have one; and they still have a confus
by andrea76 2y ago
I miss those times. Every IDE had a line by line debugger.
Now those Angular/React applications, even after years, do not have one; and they still have a confusing syntax.
- skydhash 2y agoWhat is written and what is actually running is so different that it’s better to think of SPAs as a different language. Firefox have a decent debugger for javascript which works well when the build tool output sourcemaps.
- robertlagrant 2y agoI hadn't thought about it like this, but you're right. React has decent browser plug-in tools, but it is still painful to get things back to the IDE.
- jeroenhd 2y agoMy experience with IntelliJ + a bunch of JS frameworks is that IDE-based browser debugging works quite well. Unfortunately, Firefox' remote debugging capabilities broke for me at some point, but adding a Chromium debug target in my IDE seems to work most of the time. As long as the Rube Goldberg machine that does JS transpilation includes a source map, frameworks just seem to work out of the box (as does raw JS, but that's not so common anymore). That even includes debugging some languages compiled to WASM, like C#, interestingly enough.