ifto AWS Lambda超时调试模块

想必你在调试 AWS Lambda 时,曾被那个烦人的超时问题搞得焦头烂额吧。ifto这个小工具,正是为了这个烦恼而诞生的。它能在 Lambda 超时后,自动创建日志条目,你轻松定位问题所在。用起来也蛮,只要在 Lambda 执行期间,传递getRemainingTimeInMillis(),它就能准确地告知剩余的执行时间,帮你避免超时错误。比起单纯增加 Timeout 值,使用ifto进行调试,要有效得多。而且,无论超时如何,它都会自动生成日志,帮你省下不少心力。

如果你经常 AWS Lambda,ifto应该算是一个必备的调试工具。它能在你超时问题时,带来不少便利。

,如果你想让 Lambda 调试更高效,ifto可以试试。

zip
ifto-master.zip 预估大小:57个文件
folder
ifto-master 文件夹
file
.travis.yml 148B
file
package.json 2KB
file
tslint.json 2KB
folder
test 文件夹
file
spy_http.ts 5KB
file
mocha.opts 128B
file
size_restricted_log.ts 3KB
file
spy.ts 421B
file
ifto.ts 8KB
file
base_module.ts 763B
file
index.ts 596B
file
.prettierrc 206B
file
.prettierignore 12B
file
_config.yml 74B
file
LICENSE 1KB
file
package-lock.json 90KB
file
.npmignore 155B
file
tsconfig.json 311B
folder
doc 文件夹
folder
assets 文件夹
folder
css 文件夹
file
main.css.map 30KB
file
main.css 69KB
folder
images 文件夹
file
widgets@2x.png 855B
file
icons@2x.png 27KB
file
icons.png 9KB
file
widgets.png 480B
folder
js 文件夹
file
search.js 57KB
file
main.js 149KB
file
index.html 291KB
file
globals.html 290KB
folder
classes 文件夹
file
_ifto_.ifto.html 315KB
file
_spy_modules_spy_http_.spyhttp.html 304KB
file
_spy_modules_base_module_.basemodule.html 282KB
file
_util_size_restricted_log_.sizerestrictedlog.html 292KB
file
_spy_modules_spy_.spy.html 286KB
folder
interfaces 文件夹
file
_util_size_restricted_log_.logentry.html 277KB
file
_ifto_.options.html 279KB
file
_ifto_.extendednodejsglobal.html 382KB
file
_index_.extendedglobalobject.html 381KB
file
_spy_modules_base_module_.entries.html 278KB
folder
modules 文件夹
file
_spy_modules_index_.html 274KB
file
_index_.__global.html 276KB
file
_spy_modules_base_module_.html 275KB
file
_index_.html 277KB
file
_ifto_.html 285KB
file
_util_size_restricted_log_.html 275KB
file
_spy_modules_spy_.html 275KB
file
_spy_modules_spy_http_.html 277KB
file
_util_index_.html 280KB
file
.gitignore 85B
folder
lib 文件夹
file
ifto.ts 7KB
folder
spy_modules 文件夹
file
spy_http.ts 6KB
file
spy.ts 1KB
file
base_module.ts 1KB
file
index.ts 51B
folder
util 文件夹
file
size_restricted_log.ts 2KB
file
index.ts 1KB
file
index.ts 599B
file
CODE_OF_CONDUCT.md 3KB
file
README.md 7KB
zip 文件大小:2.17MB