Skip to content

Instantly share code, notes, and snippets.

@sshay77
sshay77 / Debug-Knockout-JS.html
Last active May 22, 2024 11:07 — forked from maxcnunes/Debug-Knockout-JS.html
Simple way to debug viewmodel data bind with knockout
1.
<pre data-bind="text: ko.toJSON($data, null, 2)"></pre>
2.
<ul data-bind="debug: $data">
<a href="https://www.safaribooksonline.com/blog/2014/02/26/debugging-bindings-knockout-3-0/">1<a/>
<a href="https://github.com/JonKragh/knockthrough">2<a/>