Manjuboyz
Manjuboyz

Reputation: 7056

How to debug Backbone/Marionette

I am working on a task on asp.net and am idle on one aspx page, where it helps to increase/decrease the calendar cell, I just wanted to know the value of a variable by debugging so that , i will know what to change am new to marionette and need some help to get those values so that i can go ahead with this issue, am attaching the script.

i even searched many sites to debug the backbone, got chrome plugin to debug but of no help.

enter image description here

Upvotes: 1

Views: 320

Answers (1)

seebiscuit
seebiscuit

Reputation: 5063

Add <%debugger%> at the top of your template. It will break an attached JavaScript debugger (such as Chrome's Dev Tools), when Underscore begins to populate the template.

Upvotes: 2

Related Questions