JavaScript Stacktrace

Just add the following line in your JavaScript code to display a stacktrace in the JavaScript console.


console.log(new Error().stack)

Leave a Reply