Skip to content

Instantly share code, notes, and snippets.

@enricop89
Last active June 25, 2019 21:00
Show Gist options
  • Save enricop89/48cafe32f775f2fe2869ceb622968841 to your computer and use it in GitHub Desktop.
Save enricop89/48cafe32f775f2fe2869ceb622968841 to your computer and use it in GitHub Desktop.
Debug js using VSCode
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Hello Function",
"program": "${workspaceFolder}/node_modules/.bin/sls",
"args": ["invoke", "local", "-f", "hello", "--data", "{}"],
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": [
"${workspaceFolder}/.build/**/*.js"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment