30

console.log("debug");
.
.
.
console.log("debug1");
.
.
.
console.log("debug2");
- The only way. Try to change my mind

Comments
  • 14
    This is the way
  • 12
    Or for the back end devs...

    <?php echo '<script>console.log("debug");</script>'; ?>
  • 4
    @HiFiWiFiSciFi omfg I love that haha
  • 2
    "debugger;" + F12 ❤️
  • 1
    unless the app you're working on already has like 10 console.debug-s per second, and you're working on a part that's sending notifications into chat window, so you can do chatWindow.sendMessage (or whatever it's called in your app) instead, to actually be able to notice those messages.
  • 0
    Browser debuggers are still crap in many situations. My webpack creates several different versions of each file, sometimes in the wrong directories
  • 1
    Vs code debugger for chrome is love
  • 2
    You do know that Chrome supports break points, right?
    Tho I also think that this is the way. 🙃
  • 0
    @ostream Vue
  • 0
    Currently, brain transplant is not possible
    Sorry for PJ
  • 0
    @retoor yes its called @highlight
  • 0
    Console.log(1)...
  • 0
    Or use a good IDE and just put a breakpoint....
  • 1
    @ostream Well you can run bare feet, but it’s more comfortable with shoes.
    100mo ? my IDE eats around 1.5 GB of RAM (For big projects) and still it’s faster to put a breakpoint than try do debug with console.log 😊
Add Comment