lrlna / on-async-hook

async_hook trace emitter 🔍

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

示例运行没有输出结果?

zurmokeeper opened this issue · comments

https://blog.csdn.net/liuyaqi1993/article/details/78016166 我看到这篇文章里面运行example.js 得到了您所说的那个结果,但是我自己运行 http://localhost:8080/ 控制台并没有打印输出data,代码好像没有运行到那个cb(trace)?求解?node - v8.11.2

你好!很抱歉我這麼久才回覆到你。這應該適用於8.11.2。 但是,瀏覽器中的控制台不會有日誌。 您只能在終端中看到記錄的數據。

^ in case the above lost some meaning in google translate. I am trying to say is that the browser's console will not log anything. You will only see the output in the terminal. Here is a screencap using node v8.11.2:
GynayGTH4C