令人惊讶的是,当我在本地运行SAM时(在VsCode上,我点击了F5)。}),Invoking app.lambda_handler (python3.8)
Skip pullingimage and use local one: amazon/aws-sam-cli-emulation-image-python3.8:rapid-1.7.0.
尽管指定了工作区中的python.envFile (.vscode/settings.json),但python.defaultInterpreterPath似乎没有通过在envFile中声明的环境变量获取解释器路径.env 文件# set this in .vscode/settings.json:
# "python.envFile": "${workspaceFolder}