I recently discovered and wrote about monitoring javascript functions in the console using monitor() – very handy and well worth a read if you’re interested in these kind of things. Whilst I was at it, I also re-discovered monitorEvents(), which I’d completely forgotten about. This works by letting you actually monitor the event itself, rather than the…
Tag: console
Monitoring javascript functions
Debugging javascript can be hard… really hard. There are times when you find yourself adding in a million console.log() calls (not alerts, no more javascript alerts!) just to try and figure out where on earth the interpreter is going. There have been times where I’ve added one at the top of every function to try…
Fun with console logging
Ok, so “fun” is probably a relative term here, but it’s certainly possible to do a lot more with console logging than a lot of developers realise, including myself up until a couple of weeks ago, and I’ve just had the opportunity to use it in my latest project, Compare the Project™. So if you got…