Skip to content

Commit

Permalink
Communications - VS Code debug fixes (Azure#13550)
Browse files Browse the repository at this point in the history
* update mocha vs code launch settings

* remove invalid path from launch json
  • Loading branch information
beltr0n authored Feb 3, 2021
1 parent 68ff36f commit 8569b84
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"--colors",
"${workspaceFolder}/test/*.spec.ts"
],
"env": { "TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}" },
"env": {
"TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}",
"NODE_PATH": "${workspaceFolder}/../../../common/temp/node_modules/.pnpm/node_modules"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
Expand Down
6 changes: 3 additions & 3 deletions sdk/communication/communication-chat/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/test/*.spec.ts",
"${workspaceFolder}/test/node/*.spec.ts"
"${workspaceFolder}/test/*.spec.ts"
],
"env": {
"TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}"
"TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}",
"NODE_PATH": "${workspaceFolder}/../../../common/temp/node_modules/.pnpm/node_modules"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
Expand Down
5 changes: 4 additions & 1 deletion sdk/communication/communication-identity/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"--colors",
"${workspaceFolder}/test/*.spec.ts"
],
"env": { "TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}" },
"env": {
"TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}",
"NODE_PATH": "${workspaceFolder}/../../../common/temp/node_modules/.pnpm/node_modules"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
Expand Down
6 changes: 3 additions & 3 deletions sdk/communication/communication-sms/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/test/*.spec.ts",
"${workspaceFolder}/test/node/*.spec.ts"
"${workspaceFolder}/test/*.spec.ts"
],
"env": {
"TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}"
"TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}",
"NODE_PATH": "${workspaceFolder}/../../../common/temp/node_modules/.pnpm/node_modules"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
Expand Down

0 comments on commit 8569b84

Please sign in to comment.