- Set environment variables for the environment to be debugged.
- Spin up associated docker container for dynalite if required,
docker-compose up dynalite. If you are debugging against AWS DynamoDB itself be sure to setup your AWS Credentials accordingly. - Install packages:
sudo pip install -r src/app_requirements.txt - Set the PYTHONPATH for gdb:
export PYTHONPATH=/opt/subhub/src/:PYTHONPATH - Start gdb:
gdb python3.7 - Run the application of choise:
run APPLICATION
Where APPLICATION is either
src/hub/app.py