1
submitted 4 years ago by maakuuu@lemmy.ml to c/javascript@lemmy.ml

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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 11 Oct 2020
1 points (100.0% liked)

JavaScript community

829 readers
2 users here now

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

founded 5 years ago
MODERATORS