Want to know what exactly happens when you click some button or run some unit test on any platform/device/browser? Whether it’s your codebase or any other website scripts, Spy JS allows you to trace the code you’ve just executed. You start from an event that triggered code execution, progress to the event JavaScript stack trace, end up in highlighted source code statements.