rod*_*iwa 7 javascript asynchronous async-await google-chrome-devtools
看看下面的代码
async function example () {
const a = await resolveAfter2Secs(20);
const b = await resolveAfter4Secs(30);
return a + b;
}
Run Code Online (Sandbox Code Playgroud)
是否有推荐的标准方法来使用 Chrome 开发工具进行调试?我已经阅读了使用 Canary 的一些选项,但我正在 Chrome 中寻找类似的东西。
目前有没有办法在 Chrome 中启用异步调用堆栈功能?