You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"program" is left in place with updated description indicating the user should use the "script" property instead. This will allow existing PowerShell projects to continue work with newer versions of PSES.
Any new launch.json files created with this updated extension will generate just "script". This means that if someone loads the project in an older version of the extension, it won't launch the debugger correctly. The question is, given how *easy* it is to update PSES, do we think this will be a big problem?
I don't "think" so and I think the term "script" will make more sense to PowerShell users in the long run. That said, I'm totally OK with rejecting this PR if other folks do not agree. BTW there is a companion PR on PSES to implement the PSES side of this change.
Copy file name to clipboardExpand all lines: package.json
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -123,10 +123,14 @@
123
123
"configurationAttributes": {
124
124
"launch": {
125
125
"required": [
126
-
"program"
126
+
"script"
127
127
],
128
128
"properties": {
129
129
"program": {
130
+
"type": "string",
131
+
"description": "Deprecated. Please use the 'script' property instead to specify the absolute path to the PowerShell script to launch under the debugger."
132
+
},
133
+
"script": {
130
134
"type": "string",
131
135
"description": "Absolute path to the PowerShell script to launch under the debugger."
0 commit comments