Meteor debug not working for me


#1

I created a simple project (just the basic one that results from meteor create) and threw a debug statement in the helper for the click event:

Template.hello.events({
  'click button': function () {
    debugger;
    // increment the counter when button is clicked
    Session.set('counter', Session.get('counter') + 1);
  }
});

I then ran meteor debug, opened Chrome and went to http://localhost:8080/debug?port=5858, hit continue, then opened http://localhost:3000 in Firefox. I click the button but nothing happens. Is there some step I’m missing?


#2

meteor debug is for server-side debugging (typically using node inspector).

Check out this meteorpedia article