Each time I debug JS events I find myself fumbling together event listeners of which I forgot the syntax waaay too often.

It just takes too long.

Recently, I noticed that there is a handy API built into Chrome Developer Tools that makes debugging and logging JS events to the console a brease: The monitorEvents API…

Read how to log all JS events to the console with this new, built-in API.

  • @wildflower
    link
    23 years ago

    There’s also a useful tab in the Chromium Developer Tools that lets you see the event listeners ofany given element, without any logging.