Skip to content

Commit

Permalink
Add launch configs for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hahn committed Dec 18, 2017
1 parent dd2d40e commit 25984fc
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
// 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 Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"preLaunchTask": "tscPreload",
"args": [
"-u",
"tdd",
"--timeout",
"999999",
"--colors",
"--compilers",
"ts:ts-node/register",
"${workspaceRoot}/test/*test.ts"
],
"internalConsoleOptions": "openOnSessionStart"
}
]
}
15 changes: 15 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "tscPreload",
"type": "typescript",
"tsconfig": "tsconfig.preload.json",
"problemMatcher": [
"$tsc"
]
}
]
}

0 comments on commit 25984fc

Please sign in to comment.