Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
print stack trace on JS anywhere
var printStackTrace = function(msg) {
try {
var ex = new Error(msg);
} catch (ex) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment