Short technical post here. If you're a developer, you might be wondering, "Isn't it a bit complicated to see what's going on when you try to debug Wingman?"
Yes! Some of it definitely is, especially trying to keep track of multiple request threads or scanning video frames. But one feature that has made life significantly easier is the ability to place CSS in console.log. I use this to log out debug images. For example, right now I'm trying out a feature to tile images with huge aspect ratios, and this makes it significantly easier - I can base64 encode a thumbnail and log it out like this:
Give it a whirl the next time you need logs with a bit more than ASCII art!
No comments:
Post a Comment