Skip to content

Commit a91591f

Browse files
committed
Add configurationAttributes to package.json
Fixes microsoft/vscode#546
1 parent e318640 commit a91591f

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

package.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,18 @@
7272
{
7373
"type": "PowerShell",
7474
"enableBreakpointsFor": { "languageIds": ["powershell"] },
75-
"program": "bin/Microsoft.PowerShell.EditorServices.Host.DebugAdapter.cmd"
75+
"program": "bin/Microsoft.PowerShell.EditorServices.Host.DebugAdapter.cmd",
76+
"configurationAttributes": {
77+
"launch": {
78+
"required": [ "program" ],
79+
"properties": {
80+
"program": {
81+
"type": "string",
82+
"description": "Workspace relative path to the PowerShell script."
83+
}
84+
}
85+
}
86+
},
7687
}
7788
],
7889
"configuration": {
@@ -98,4 +109,4 @@
98109
}
99110
},
100111
"private": true
101-
}
112+
}

0 commit comments

Comments
 (0)