vendredi 23 septembre 2016

how to debug javascript element (like a button)

It sound like a simple debug question but I cannot find the solution.

On a web browser like chrome, in the dev panel, I would like to inspect an element (like a button) and then ask chrome to find the corresponding javascript events on the page / file (in order to place breakpoint or to look at the code).

How can I do that ? (without fireing the event and checking the timeline as proposed by @dev3078 in this post How do I monitor what Javascript is being triggered when I click an element in a webpage?). I'd like to have, as in IDE, a 'goto javascript events declaration' !




Aucun commentaire:

Enregistrer un commentaire