Skip to content

Commit

Permalink
fix: Fix(controls) launch.json to work out-of-box in vscode (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Liddell committed Aug 13, 2020
1 parent 279d96d commit 24afdf8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions ask-sdk-controls/ide/vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,19 @@
{
"type": "node",
"request": "launch",
"name": "Run tests (LOG=info)",
//"preLaunchTask": // use $npm run watch for continuous compilation
"name": "Run tests (INFO)",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--require",
"source-map-support/register",
"--timeout",
"999999",
"--colors",
"\"${workspaceFolder}/dist/test/**/*.spec.js\""
"-r",
"ts-node/register",
"${workspaceFolder}/test/**/*.spec.ts" // (macOS) wrapping the content with \" may be necessary.
],
"env": {
"DEBUG": "error:*, warn:*, info:*" // debug:*
//"DEBUG": "error:*, warn:*, info:*" // uncomment for logs
},
"showAsyncStacks": true,
"smartStep": true,
"skipFiles": [
"node_modules/**",
Expand Down

0 comments on commit 24afdf8

Please sign in to comment.