We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
${rundir}/agent.sock
# egg-bin send action [args] $ egg-bin send egg:loggerLevel debug $ egg-bin send dumpCache
// app.js module.exports = function*(app) { app.addActionListener('dumpCache', () => fs.writeFile('./tmp/cache.dump', JSON.stringify(app.cache, null, 2))); }
The text was updated successfully, but these errors were encountered:
ping @dead-horse
Sorry, something went wrong.
研究了下:
顶楼 RFC 中:
addActionListener
另外,还有一种方式就是 kill -s SIGUSR1 pid 这样就能动态开启 node debug,接着 attach 上去即可。
kill -s SIGUSR1 pid
dead-horse
No branches or pull requests
场景
实现方式
${rundir}/agent.sock
,解析特定格式的 socket 请求数据,下发命令给 worker。# egg-bin send action [args] $ egg-bin send egg:loggerLevel debug $ egg-bin send dumpCache
The text was updated successfully, but these errors were encountered: