File tree Expand file tree Collapse file tree 2 files changed +26
-13
lines changed Expand file tree Collapse file tree 2 files changed +26
-13
lines changed Original file line number Diff line number Diff line change 11{
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+ ]
1112}
Original file line number Diff line number Diff line change 125125 "properties" : {
126126 "program" : {
127127 "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" : " ."
129134 }
130135 }
131136 }
135140 "name" : " PowerShell" ,
136141 "type" : " PowerShell" ,
137142 "request" : " launch" ,
138- "program" : " ${file}"
143+ "program" : " ${file}" ,
144+ "cwd" : " ${file}"
139145 }
140146 ]
141147 },
158164 "properties" : {
159165 "program" : {
160166 "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" : " ."
162173 }
163174 }
164175 }
168179 "name" : " PowerShell x86" ,
169180 "type" : " PowerShell x86" ,
170181 "request" : " launch" ,
171- "program" : " ${file}"
182+ "program" : " ${file}" ,
183+ "cwd" : " ${file}"
172184 }
173185 ]
174186 }
You can’t perform that action at this time.
0 commit comments