Just add the following line in your JavaScript code to display a stacktrace in the JavaScript console.
console.log(new Error().stack)
Just add the following line in your JavaScript code to display a stacktrace in the JavaScript console.
console.log(new Error().stack)