Skip to content

Update dbg config snippets to be consistent w/node #490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions examples/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch (DebugTest.ps1)",
"script": "${workspaceRoot}/DebugTest.ps1",
"args": ["-Count 42 -DelayMilliseconds 1500"],
"cwd": "${workspaceRoot}"
"name": "PowerShell Launch (current file)",
"script": "${file}",
"args": [],
"cwd": "${file}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Interactive Session",
"name": "PowerShell Launch (DebugTest.ps1)",
"script": "${workspaceRoot}/DebugTest.ps1",
"args": ["-Count 55 -DelayMilliseconds 250"],
"cwd": "${workspaceRoot}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch (current file)",
"script": "${file}",
"args": [],
"cwd": "${file}"
"name": "PowerShell Interactive Session",
"cwd": "${workspaceRoot}"
},
{
"type": "PowerShell",
Expand All @@ -31,4 +31,4 @@
"runspaceId": 1
}
]
}
}
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@
"startSessionCommand": "PowerShell.StartDebugSession",
"configurationSnippets": [
{
"label": "PowerShell: Launch Current Script Configuration",
"description": "A new configuration for launching the current opened PowerShell script",
"label": "PowerShell: Launch (current file)",
"description": "Launch current file (in active editor window) under debugger",
"body": {
"type": "PowerShell",
"request": "launch",
Expand All @@ -186,8 +186,8 @@
}
},
{
"label": "PowerShell: Launch Script Configuration",
"description": "A new configuration for launching a PowerShell script",
"label": "PowerShell: Launch Script",
"description": "Launch specified script under debugger",
"body": {
"type": "PowerShell",
"request": "launch",
Expand All @@ -198,8 +198,8 @@
}
},
{
"label": "PowerShell: Attach to PowerShell Host Process Configuration",
"description": "A new configuration for debugging a runspace in another host process.",
"label": "PowerShell: Attach to PowerShell Host Process",
"description": "Open host process picker to select process to attach debugger to",
"body": {
"type": "PowerShell",
"request": "attach",
Expand All @@ -209,8 +209,8 @@
}
},
{
"label": "PowerShell: Launch Interactive Session Configuration",
"description": "A new configuration for debugging an interactive session.",
"label": "PowerShell: Interactive Session",
"description": "Start interactive session (Debug Console) under debugger",
"body": {
"type": "PowerShell",
"request": "launch",
Expand Down