Skip to content

Commit 1c29be9

Browse files
committed
Add notifyOnAttach option
Adds the new `notifyOnAttach` option for an attach request. This option will have PSES create a new event with the source identifier `PSES.Attached` that allows the attached script to wait for the attach event.
1 parent e86a95c commit 1c29be9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,11 @@
610610
"type": "string",
611611
"description": "The custom pipe name of the PowerShell host process to attach to.",
612612
"default": null
613+
},
614+
"notifyOnAttach": {
615+
"type": "boolean",
616+
"description": "Creates the event 'PSES.Attached' when the debugger attaches to the PowerShell host process. This is useful when creating a script that waits for the debugger to attach.",
617+
"default": false
613618
}
614619
}
615620
}

0 commit comments

Comments
 (0)