File tree 2 files changed +26
-13
lines changed
2 files changed +26
-13
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 0.2.0" ,
3
- "configurations" : [
4
- {
5
- "name" : " PowerShell" ,
6
- "type" : " PowerShell" ,
7
- "request" : " launch" ,
8
- "program" : " ${file}"
9
- }
10
- ]
2
+ "version" : " 0.2.0" ,
3
+ "configurations" : [
4
+ {
5
+ "name" : " PowerShell" ,
6
+ "type" : " PowerShell" ,
7
+ "request" : " launch" ,
8
+ "program" : " ${file}" ,
9
+ "cwd" : " ${file}"
10
+ }
11
+ ]
11
12
}
Original file line number Diff line number Diff line change 125
125
"properties" : {
126
126
"program" : {
127
127
"type" : " string" ,
128
- "description" : " Workspace relative path to the PowerShell script."
128
+ "description" : " Absolute path to the PowerShell script to launch under the debugger."
129
+ },
130
+ "cwd" : {
131
+ "type" : " string" ,
132
+ "description" : " Absolute path to the working directory. Default is the current workspace." ,
133
+ "default" : " ."
129
134
}
130
135
}
131
136
}
135
140
"name" : " PowerShell" ,
136
141
"type" : " PowerShell" ,
137
142
"request" : " launch" ,
138
- "program" : " ${file}"
143
+ "program" : " ${file}" ,
144
+ "cwd" : " ${file}"
139
145
}
140
146
]
141
147
},
158
164
"properties" : {
159
165
"program" : {
160
166
"type" : " string" ,
161
- "description" : " Workspace relative path to the PowerShell script."
167
+ "description" : " Absolute path to the PowerShell script to launch under the debugger."
168
+ },
169
+ "cwd" : {
170
+ "type" : " string" ,
171
+ "description" : " Absolute path to the working directory. Default is the current workspace." ,
172
+ "default" : " ."
162
173
}
163
174
}
164
175
}
168
179
"name" : " PowerShell x86" ,
169
180
"type" : " PowerShell x86" ,
170
181
"request" : " launch" ,
171
- "program" : " ${file}"
182
+ "program" : " ${file}" ,
183
+ "cwd" : " ${file}"
172
184
}
173
185
]
174
186
}
You can’t perform that action at this time.
0 commit comments