Skip to content

Instantly share code, notes, and snippets.

@carlohcs
Created May 25, 2018 19:20
Show Gist options
  • Save carlohcs/41c0cbaef4b632165acf2f080d07b35d to your computer and use it in GitHub Desktop.
Save carlohcs/41c0cbaef4b632165acf2f080d07b35d to your computer and use it in GitHub Desktop.
Runing ava in VSCODE
{
// 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": "Run Ava Tests",
"program": "${workspaceRoot}/node_modules/ava/profile.js",
"args": [
"--verbose",
"${file}"
],
"env": {
"NODE_ENV": "development"
},
"smartStep": true,
"sourceMaps": true,
"internalConsoleOptions": "openOnSessionStart",
"stopOnEntry": false
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/index.js"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment