You must log in or register to comment.
echo __LINE__ . "Moo\n";
Honestly if you’re not including the LoC in your debug statement I don’t even fucking understand you.
But yeah, senior devs know the power of breadcrumb debugging (because most of us were deeply scarred by
gdb
).Did GDB do something bad at some point?
Yes. It breaks points.
No
That’s
console.trace()
for all you JS devs out there.deleted by creator
deleted by creator
dbg!()
for Rust usersDon’t you want it to look a little nicer? echo __LINE__ . “: Moo!”;
I mean, presuming cowsay is unavailable