canjs / can-zone

A context for tracking asynchronous activity in JavaScript applications.
https://v4.canjs.com/doc/can-zone.html
MIT License
92 stars 4 forks source link

Implements debug zone {break: true} #152

Closed matthewp closed 7 years ago

matthewp commented 7 years ago

This implements a new option in the debug zone (require("can-zone/debug");): {break: true}

This option enables a breakpoint to occur after the Zone has timed out. A debugger; is placed within a function that you can easily step into to see the code that is preventing the Zone to complete.

Closes #148

matthewp commented 7 years ago

needs docs