4 ms·
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!
by Waterluvian 10y ago
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!
- dagw 10y agoBut 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.
- eriknstr 10y agoTrue 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_to/Use_a_source_map https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_...
- Tistron 10y agoNot as convenient, but you can write the statement `debugger;` and the debugger will stop there.
- bostonvaulter2 10y agoI find it incredibly convenient because I don't need to go through the browser trying to find the same spot in the code.
- Sacho 10y agoVSCode provides this functionality(https://code.visualstudio.com/docs/editor/debugging https://code.visualstudio.com/docs/editor/debugging).