-
Notifications
You must be signed in to change notification settings - Fork 121
Debug
David Desmaisons edited this page Jul 12, 2015
·
7 revisions
#Basic
ko_extension.js includes a custom binding provider written by Ryan Niemeyer that will caugth binding exceptions and log them to the console.
This allows better debugging and also ensure that one broken binding will not break all the binding of a given View.
#Tools for HTLMLWindow and HTMLViewControl
If set to true, HTLMLWindow will display 2 buttons:
- "ko-debug" opens/closes a window to display the ViewModel (made using minor tweeks to the bookmarklet by James Smith- basically making it work for Chromium 18).
- "Open browser" open our favorite browser at http://127.0.0.1:8080/ enabling debug of the javascript session in a browser.