/local-lambda-debug

Example setup for vscode for debugging you AWS Lambda functions locally with actual break points in the vscode IDE.

Primary LanguageJavaScript

Local lambda debugging

Visual Studio Code (OSX, Linux, Windows) is recommended as IDE

Prerequisties

  • Check if nodejs is installed using node -v. Version should be 6.10.3 LTS.

Project Setup

  • npm install

Tests

  • npm test

Run/Debug (vscode)

  • Click on Debug, chose Debug from the drop down and click Play. After this setup you can simply hit F5 to run this.

More info: