Mar 26, 2018

JavaScript console.trace will log to the console the call stack that exists at the point console.trace was called.

The console object also supports outputting a stack trace; this will show you the call path taken to reach the point at which you call console.trace().