Skip to content

MatteoGioioso/lambda-debugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda Debugger

Time travel offline debugging for your Nodejs Lambda function.

Lambda debugger records all your function execution, so you can replay it at a later time. Stop scattering your code with console.log.

img.png

Example

Download this html file and open it with chrome: debugger.html

Installation

npm install lambda-debugger --save

Usage

Just require this module inside your handler

const lambdaDebugger = require("lambda-debugger");

exports.handler = lambdaDebugger((event, context,callback) => {
    callback(null, "Hello Lambda Debugger!");
});

Roadmap

  • Support source maps for javascript

Currently under development