3 ms·
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 fou
by dagw 10y ago
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.
- 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).