Skip to content

Instantly share code, notes, and snippets.

@cdimascio
Created July 12, 2020 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdimascio/1cfc859b34c7e4fb7fe2542f9f9950c8 to your computer and use it in GitHub Desktop.
Save cdimascio/1cfc859b34c7e4fb7fe2542f9f9950c8 to your computer and use it in GitHub Desktop.
VSCode Debugging: Mocha with Typescript (launch configuration item)
{
// 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": "Mocha All",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/test/**/*.spec.ts",
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment