Skip to content

Instantly share code, notes, and snippets.

@khaledosman
Created September 26, 2019 10:22
Show Gist options
  • Save khaledosman/1922ee68944599abc42f8f83f388fd8a to your computer and use it in GitHub Desktop.
Save khaledosman/1922ee68944599abc42f8f83f388fd8a to your computer and use it in GitHub Desktop.
VSCode debugging configuration for serverless-offline plugin
{
"configurations": [
{
"name": "Lambda",
"type": "node",
"request": "launch",
"runtimeArgs": ["--inspect", "--debug-port=9229"],
"program": "${workspaceFolder}/node_modules/serverless/bin/serverless",
"args": ["offline"],
"port": 9229,
"console": "integratedTerminal"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment