add generator function name for koa debug