@amazon-codecatalyst/blueprints.sam-serverless-application
Version:
This blueprint creates a project that leverages a serverless application model (SAM) to quickly create and deploy an API. You can choose Java, TypeScript, or Python as the programming language
29 lines (28 loc) • 739 B
JSON
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch local sam API",
"request": "launch",
"type": "chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/{{lambdaFunctionName}}/hello_world",
"preLaunchTask": "sam: start api"
},
{
"name": "Debug current test file",
"type": "python",
"request": "launch",
"module": "pytest",
"args": [
"${file}"
]
},
{
"name": "Debug all test files",
"type": "python",
"request": "launch",
"module": "pytest"
}
]
}