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
"description": "A new configuration for debugging an interactive session.",
208
+
"body": {
209
+
"type": "PowerShell",
210
+
"request": "launch",
211
+
"name": "PowerShell Interactive Session"
212
+
}
185
213
}
186
214
],
187
215
188
216
"configurationAttributes": {
189
217
"launch": {
190
-
"required": [
191
-
"script"
192
-
],
193
218
"properties": {
194
219
"program": {
195
220
"type": "string",
196
221
"description": "Deprecated. Please use the 'script' property instead to specify the absolute path to the PowerShell script to launch under the debugger."
197
222
},
198
223
"script": {
199
224
"type": "string",
200
-
"description": "Absolute path to the PowerShell script to launch under the debugger."
225
+
"description": "Optional: Absolute path to the PowerShell script to launch under the debugger."
201
226
},
202
227
"args": {
203
228
"type": "array",
@@ -213,6 +238,23 @@
213
238
"default": "${workspaceRoot}"
214
239
}
215
240
}
241
+
},
242
+
"attach": {
243
+
"properties": {
244
+
"computerName": {
245
+
"type": "string",
246
+
"description": "Optional: The computer name to which a remote session will be established. Works only on PowerShell 4 and above."
247
+
},
248
+
"processId": {
249
+
"type": "number",
250
+
"description": "The ID of the process to be attached. Works only on PowerShell 5 and above."
251
+
},
252
+
"runspaceId": {
253
+
"type": "number",
254
+
"description": "Optional: The ID of the runspace to debug in the attached process. Defaults to 1. Works only on PowerShell 5 and above.",
0 commit comments