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.


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

The JavaScript community in Lemmy

    A community about JavaScript, the ECMAScript standard, and programs that make use of JS such as Node.js.

    • 0 users online
    • 1 user / day
    • 1 user / week
    • 2 users / month
    • 7 users / 6 months
    • 303 subscribers
    • 44 Posts
    • Modlog