What's the best way to debug a webworker? My worker appears to be failing somewhere, but I don't appear to be able to log things to the console to figure out what's going on. Is there a way using firebug, or webkit's inspector I can run javascript in the webworker context? Is there a better way of doing this?
Debugging workers is now available in chrome.
look out the [article of chromium blog]
http://blog.chromium.org/2012/04/debugging-web-workers-with-chrome.html
At the moment no browser supports debugging of web workers. I've tested
There is a nice article by Nicholas Zakas about debugging web workers.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.