Skip to content

Instantly share code, notes, and snippets.

@SamWSoftware
Created November 28, 2020 20:43
Show Gist options
  • Save SamWSoftware/8f70176ecabe4b01b86ef5b5a905dffa to your computer and use it in GitHub Desktop.
Save SamWSoftware/8f70176ecabe4b01b86ef5b5a905dffa to your computer and use it in GitHub Desktop.
VS Code Debugging Launch JSON
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Serverless Offline",
"program": "${workspaceRoot}/node_modules/serverless/bin/serverless",
"args": ["offline", "start", "--httpPort", "4000", "--noTimeout"],
"sourceMaps": true,
"runtimeArgs": ["--lazy"],
"outFiles": ["${workspaceRoot}/.webpack/**/*.js"],
"protocol": "inspector",
"runtimeExecutable": "node",
"env": {
"tableName": "player-points"
},
"windows": {
"program": "${workspaceRoot}\\node_modules\\serverless\\bin\\serverless"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment