Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.chalice
.gitignore
Dockerfile
Jenkinsfile
Readme.md
app.py
requirements.txt
runTest.sh

Readme.md

Quickstart for debugging Python + AWS Lambda + Chalice

A sample application for debugging Python apps deployed in AWS Chalice using Rookout.

Before following this guide we recommend reading the basic Python + Lambda debugging guide.

This example is based on a plain Chalice app, with the following modifications applied:

  1. Set your Rookout token as an environment variable in .chalice/config.json:
"environment_variables": {
    "ROOKOUT_TOKEN": "<token>"
  }
  1. Add the rook SDK dependancy to your requirements.txt Chalice file.

  2. Initialize your Chalice app using RookoutChalice :

from rook.serverless import RookoutChalice

app = RookoutChalice(app_name='python-aws-chalice')
  1. Go to app.rookout.com and start debugging!
You can’t perform that action at this time.