Skip to content

Instantly share code, notes, and snippets.

@lucasklaassen
Created December 17, 2017 02:53
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasklaassen/6b09ae7ee5542f2a69c494a66362fc4b to your computer and use it in GitHub Desktop.
Save lucasklaassen/6b09ae7ee5542f2a69c494a66362fc4b to your computer and use it in GitHub Desktop.
serverless debugging in vscode
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Serverless",
"program": "${workspaceFolder}/node_modules/.bin/sls",
"cwd": "${workspaceFolder}",
"args": [
"offline",
"start",
"--stage=development",
"--region=us-west-2",
"--host=localhost",
"--port=3000",
"--noTimeout"
],
"sourceMaps": true,
"smartStep": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment