Skip to content

Commit

Permalink
Add more useful launch configurations (#1499)
Browse files Browse the repository at this point in the history
* Add more useful launch configurations

* Update .vscode/launch.json
  • Loading branch information
bergmeister authored May 26, 2020
1 parent f9661f9 commit 67805a1
Showing 1 changed file with 36 additions and 10 deletions.
46 changes: 36 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,44 @@
{
"version": "0.2.0",
"configurations": [

{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"type": "PowerShell",
"request": "launch",
"name": "Build",
"script": "./build.ps1",
"args": [
""
],
"cwd": "${workspaceFolder}",
"createTemporaryIntegratedConsole": true
},
{
"type": "PowerShell",
"request": "launch",
"name": "Build & Run all tests",
"script": "./build.ps1; ./build.ps1 -Test",
"args": [
""
],
"cwd": "${workspaceFolder}",
"createTemporaryIntegratedConsole": true
},
{
"type": "PowerShell",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>",
"args": [],
"cwd": "${workspaceRoot}",
"externalConsole": false,
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
"name": "Run current Pester file with PSScriptAnalyzer development build",
"script": "Import-Module ./out/PSScriptAnalyzer/*/PSScriptAnalyzer.psd1; Invoke-Pester -Path '${file}'; $PID",
"args": [
""
],
"cwd": "${workspaceFolder}",
"createTemporaryIntegratedConsole": true
},
{
"name": "PowerShell Attach to Host Process",
"type": "PowerShell",
"request": "attach",
"runspaceId": 1
},
{
"name": ".NET Core Attach",
Expand Down

0 comments on commit 67805a1

Please sign in to comment.