JavaScript Stacktrace

  • Post author:
  • Post category:JavaScript

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


console.log(new Error().stack)