4 ms·
My favorite tip: Add console.log statements anywhere in your code by adding "conditional breakpoints" and writing a console.log in the breakpoint expression.
by dmihal 9y ago
My favorite tip:
Add console.log statements anywhere in your code by adding "conditional breakpoints" and writing a console.log in the breakpoint expression.
- platz 9y agoDa-umn!
- ivankolev 9y agoI've used that lots of times, and I wish Chrome treats them breakpoints less ephemerally :). Nowadays I debug simultaneously on Intellij and Chrome DevTools, thanks to the new standardized debug protocol. It's very neat to be able to save sets of breakpoints that just do logging, and you sorta can do that manually because intellij saves them in the project's config xml.