Deb.js for Meteor, a very userful tool for debugging in the browser. If you mark the function with deb()
, and everytime you run it, it will log all the details including arguments, output and stacktraces of the function.
meteor add mrt:deb
Add .deb()
After the definition of your functions.
var calculateSomething = function(cb) {
// ...
}.deb();
For coffeescript users, there is a global function deb
and debc
.
calculateSomething = deb (cb) ->
# ...
Template.hello.events({
'click input': function () {
console.log("You pressed the button");
}.deb()
});
Thanks to @krasimir for the great debugging tool. Official Documentation for Deb.js: https://github.com/krasimir/deb.js
MIT