-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathlaunch.json
More file actions
37 lines (37 loc) · 1.29 KB
/
Copy pathlaunch.json
File metadata and controls
37 lines (37 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"version": "0.2.0",
"configurations": [
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Debug All Tests w/Code Coverage",
"preLaunchTask": "build",
"script": "Invoke-Pester",
"args": [
"-PesterOption @{ IncludeVSCodeMarker = $True }",
"-CodeCoverage Output\\*.psm1"
],
"cwd": "${workspaceFolder}",
"createTemporaryIntegratedConsole": true
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Debug Current Test File w/Args Prompt",
"script": "$env:PSModulePath = '${workspaceFolder}\\Output;${env:PSModulePath};Import-Module Pester; Invoke-Pester -Path '${file}'",
"args": [
"-PesterOption @{ IncludeVSCodeMarker = $True }",
"${command:SpecifyScriptArgs}"
],
"cwd": "${workspaceFolder}",
"createTemporaryIntegratedConsole": true
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Interactive Session",
"cwd": "${workspaceFolder}",
"createTemporaryIntegratedConsole": true
},
]
}