How to debug web workers

前端 未结 12 1149
被撕碎了的回忆
被撕碎了的回忆 2020-12-05 09:02

I have been working with web workers in HTML 5 and am looking for ways to debug them. Ideally something like the firebug or chrome debuggers. Does anyone have any good solu

12条回答
  •  误落风尘
    2020-12-05 10:05

    As a fast solution on the missing console.log, you can just use throw JSON.stringify({data:data})

提交回复
热议问题