Skip to content

Instantly share code, notes, and snippets.

@fwang
Last active June 10, 2021 22:20
Show Gist options
  • Save fwang/a002acc409a41fcd4ba740af87f57b12 to your computer and use it in GitHub Desktop.
Save fwang/a002acc409a41fcd4ba740af87f57b12 to your computer and use it in GitHub Desktop.
VSCode launch.json for SST
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug SST Start",
"type": "node",
"request": "launch",
- "runtimeExecutable": "npm",
- "runtimeArgs": ["start"],
+ "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
+ "runtimeArgs": ["start", "--increase-timeout"],
+ "console": "integratedTerminal",
"skipFiles": ["<node_internals>/**"]
},
{
"name": "Debug SST Tests",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
"args": ["test", "--runInBand", "--no-cache", "--watchAll=false"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"env": { "CI": "true" },
"disableOptimisticBPs": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment