Skip to content

Commit

Permalink
add vscode launch config and workspace settings (#2828)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP authored Aug 28, 2019
1 parent 71e7477 commit 2496683
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
// 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": "Launch Unit Test",
"description": "launch test on current unit test file",
"program": "${workspaceFolder}/node_modules/mocha/bin/mocha",
"args": [
"--reporter=spec",
"--inspect-brk=9229",
"${file}"
],
"port": 9229
},
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.tabSize": 2
}

0 comments on commit 2496683

Please sign in to comment.