Commit 1754523
committed
Replace program with script in launch.json.
"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.1 parent e969d41 commit 1754523
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
151 | 155 | | |
152 | 156 | | |
153 | 157 | | |
154 | | - | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
| |||
0 commit comments