1
submitted 5 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.

maakuuu

0 post score
0 comment score
joined 5 years ago