How to find event handlers?


I click on a button in Meteor and an event method is called. But I cannot find which one and in which file it is.
Is there any way? E.g. to enable a debugging breakpoint on events (I use WebStorm).

Thank you.


Well assuming the event handler is not a global thing, it must be in the template’s event map. So look for{...}); and see if you can see it in there!?


I already commented{…});

out but it is still firing.


Ah found it:

It was a href in the link tag inside the button that was firing.