Run Lambda in VSCode
Last updated
Was this helpful?
Last updated
Was this helpful?
Open Visual Studio Code and open project-one
folder.
Press Shift + Command + B
and select npm: build - function-one
This will run tsc
to transpile all the typescript files under the folder.
Press shift + command + P
and select Tasks: Run Task
and then selectnpm: sam - function-one
Final screenshot shows that we are able to run the lambda function from VSCode.