I want to see an Angular stack trace when a specific function is called twice, which seems odd but is the intended behavior https://github.com/angular/angular.js/issues/1146.
use strict disables arguments.callee.caller.toString() to print the call stack.
How can I log the caller of a named function in Angular?
You can produce a stack trace by doing console.log((new Error).stack);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With