News for hackers. Stuff that matters.
Re:Why don't schools teach debugging? (2014) by Waterluvian on Tuesday April 25, 2017 @08:09AM (#14192688)
Which is so odd to me because the JavaScript debug tools are some of the most complete and easiest to use. They're right there!
Re:Why don't schools teach debugging? (2014) by dagw on Tuesday April 25, 2017 @08:30AM (#14192807)
But I can't get them to integrate well with my dev tools. If, for example, I'm using something like babel/webpack/Typescript there is no easy way that I've found to for example just set breakpoint on a line of code in my editor/IDE and have the web browser debugger break when it gets there.
Re:Why don't schools teach debugging? (2014) by eriknstr on Tuesday April 25, 2017 @08:57AM (#14193007)
True you probably can't set the breakpoint in your IDE but thanks to source maps you can still view the original source in the debugger.

https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_...

Re:Why don't schools teach debugging? (2014) by Tistron on Tuesday April 25, 2017 @09:13AM (#14193149)
Not as convenient, but you can write the statement `debugger;` and the debugger will stop there.
Re:Why don't schools teach debugging? (2014) by bostonvaulter2 on Wednesday April 26, 2017 @12:10AM (#14200372)
I find it incredibly convenient because I don't need to go through the browser trying to find the same spot in the code.
Re:Why don't schools teach debugging? (2014) by Sacho on Tuesday April 25, 2017 @11:08AM (#14194173)
VSCode provides this functionality(https://code.visualstudio.com/docs/editor/debugging).