Skip to content

Instantly share code, notes, and snippets.

@allyjweir
Created July 9, 2019 11:24
Show Gist options
  • Save allyjweir/f0c77e1937e181a45fb9e3bca95bc937 to your computer and use it in GitHub Desktop.
Save allyjweir/f0c77e1937e181a45fb9e3bca95bc937 to your computer and use it in GitHub Desktop.
Twig - Example VSCode launch.json file
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"--runInBand",
"--detectOpenHandles",
"${relativeFile}",
"NODE_ENV=development",
"IS_DEBUG=true"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
}
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/lib/index",
"outFiles": [
"${workspaceFolder}/lib/**/*.js"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment