Serverless VSCode Debug TypeScript
Demo project on setting up a serverless API on API Gateway using the Serverless Framework, TypeScript and VSCode for debugging (breakpoints yay!).
Local development is executed with the serverless-offline
plugin.
Installation
git clone https://github.com/nem035/sls-vscode-debug-ts
cd sls-vscode-debug-ts
npm i
Requirements
Debugging
- Set a breakpoint within
hello
handler - Press the VSCode debug button
- Make a request to the
/hello
endpoint