Skip to content

Instantly share code, notes, and snippets.

@ChezCrawford
Created February 9, 2017 18:50
Show Gist options
  • Save ChezCrawford/3031bff8a14cfbc111d2f3df1af36d0f to your computer and use it in GitHub Desktop.
Save ChezCrawford/3031bff8a14cfbc111d2f3df1af36d0f to your computer and use it in GitHub Desktop.
VSCode TypeScript Configuration
{
// Use IntelliSense to find out which attributes exist for node debugging
// Use hover for the description of the existing attributes
// For further information visit https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
// Debug a single Mocha test file and allow breakpoints to be set in the .ts file.
{
"type": "node2",
"request": "launch",
"name": "Mocha Test",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha",
"runtimeArgs": [
"-u",
"tdd",
"--timeout",
"999999",
"--colors",
"${workspaceRoot}/build/test/ledgerService.js"
],
"internalConsoleOptions": "openOnSessionStart",
"outFiles": ["${workspaceRoot}/build/**/*.js"],
"sourceMaps": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment