I can't think of a tip, so how about a Feedback Friday? What's one thing we're doing well, and one thing we could improve? --- @kaycebasques
-
-
Replying to @ChromeDevTools @kaycebasques
Mr.doob Retweeted Mr.doob
Canvas debugging
https://twitter.com/mrdoob/status/1037995078482944000 …Mr.doob added,
1 reply 1 retweet 6 likes -
Replying to @mrdoob @kaycebasques
Thanks. I saw this discussion and noted this tweet already ;)
2 replies 0 retweets 3 likes -
Btw, purely theoretical question: How does one debug a canvas?
What is yours ideal scenario?
- console logs with canvas operations details?
- vectorizing when in debug mode?2 replies 0 retweets 1 like
You can pause on canvas lifecycle events from the Event Listener Breakpoints pane: https://developers.google.com/web/tools/chrome-devtools/javascript/breakpoints#event-listeners … And here's a hack for pausing when any canvas function is called:https://stackoverflow.com/questions/51789703/debug-js-modifying-some-specific-canvas-element/51793779#51793779 …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
