We are going to need a few debug utilities since the code is not very easy to debug:
Introduce "Debug" build of the library that shouts a lot of error messages if the library is not used properly. All this code should go away during minification.
Introduce a browser extension that helps access inner state and other meta information.
We are going to need a few debug utilities since the code is not very easy to debug: