Skip to content

Instantly share code, notes, and snippets.

Avatar
🐪
the koan brothers

Jack Lukic jlukic

🐪
the koan brothers
View GitHub Profile
View readme.md

console.log wrap resolving for your wrapped console logs

I've heard this before:

What I really get frustrated by is that I cannot wrap console.* and preserve line numbers

We enabled this in Chrome DevTools via blackboxing a bit ago.

If you blackbox the script file the contains the console log wrapper, the script location shown in the console will be corrected to the original source file and line number. Click, and the full source is looking longingly into your eyes.