Skip to content

Add label property to debug config, change pkg name to lowercase #1746

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 8, 2019
Merged
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
57 changes: 29 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "PowerShell",
"name": "powershell",
"displayName": "PowerShell",
"version": "2.0.0",
"preview": true,
Expand Down Expand Up @@ -307,7 +307,8 @@
],
"debuggers": [
{
"type": "PowerShell",
"type": "powershell",
"label": "PowerShell",
"enableBreakpointsFor": {
"languageIds": [
"powershell"
Expand All @@ -327,9 +328,9 @@
"label": "PowerShell: Launch Current File",
"description": "Launch current file (in active editor window) under debugger",
"body": {
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File",
"type": "powershell",
"request": "launch",
"script": "^\"\\${file}\"",
"args": [],
"cwd": "^\"\\${file}\""
Expand All @@ -339,9 +340,9 @@
"label": "PowerShell: Launch Current File in Temporary Console",
"description": "Launch current file (in active editor window) under debugger in a temporary Integrated Console.",
"body": {
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File in Temporary Console",
"type": "powershell",
"request": "launch",
"script": "^\"\\${file}\"",
"args": [],
"cwd": "^\"\\${file}\"",
Expand All @@ -352,9 +353,9 @@
"label": "PowerShell: Launch Current File w/Args Prompt",
"description": "Launch current file (in active editor window) under debugger, prompting first for script arguments",
"body": {
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File w/Args Prompt",
"type": "powershell",
"request": "launch",
"script": "^\"\\${file}\"",
"args": [
"^\"\\${command:SpecifyScriptArgs}\""
Expand All @@ -366,9 +367,9 @@
"label": "PowerShell: Launch Script",
"description": "Launch specified script or path to script under debugger",
"body": {
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch ${Script}",
"type": "powershell",
"request": "launch",
"script": "^\"\\${workspaceFolder}/${Script}\"",
"args": [],
"cwd": "^\"\\${workspaceFolder}\""
Expand All @@ -378,9 +379,9 @@
"label": "PowerShell: Pester Tests",
"description": "Invokes Pester tests under debugger",
"body": {
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Pester Tests",
"type": "powershell",
"request": "launch",
"script": "Invoke-Pester",
"args": [],
"cwd": "^\"\\${workspaceFolder}\""
Expand All @@ -390,9 +391,9 @@
"label": "PowerShell: Attach to PowerShell Host Process",
"description": "Open host process picker to select process to attach debugger to",
"body": {
"type": "PowerShell",
"request": "attach",
"name": "PowerShell Attach to Host Process",
"type": "powershell",
"request": "attach",
"processId": "^\"\\${command:PickPSHostProcess}\"",
"runspaceId": 1
}
Expand All @@ -401,9 +402,9 @@
"label": "PowerShell: Interactive Session",
"description": "Start interactive session (Debug Console) under debugger",
"body": {
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Interactive Session",
"type": "powershell",
"request": "launch",
"cwd": ""
}
}
Expand Down Expand Up @@ -456,43 +457,43 @@
},
"initialConfigurations": [
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File",
"type": "powershell",
"request": "launch",
"script": "${file}",
"args": [],
"cwd": "${file}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File in Temporary Console",
"type": "powershell",
"request": "launch",
"script": "${file}",
"args": [],
"cwd": "${file}",
"createTemporaryIntegratedConsole": true
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File w/Args Prompt",
"type": "powershell",
"request": "launch",
"script": "${file}",
"args": [
"${command:SpecifyScriptArgs}"
],
"cwd": "${file}"
},
{
"type": "PowerShell",
"request": "attach",
"name": "PowerShell Attach to Host Process",
"type": "powershell",
"request": "attach",
"processId": "${command:PickPSHostProcess}",
"runspaceId": 1
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Interactive Session",
"type": "powershell",
"request": "launch",
"cwd": ""
}
]
Expand All @@ -508,8 +509,8 @@
"description": "Specifies the visibility of the Command Explorer in the PowerShell Side Bar."
},
"powershell.sideBar.CommandExplorerExcludeFilter": {
"type":"array",
"default":[],
"type": "array",
"default": [],
"description": "Specify array of Modules to exclude from Command Explorer listing."
},
"powershell.powerShellExePath": {
Expand Down