Skip to content

Commit fe8dd4f

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 0dc8035 commit fe8dd4f

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
@@ -689,6 +689,11 @@
689689
]
690690
},
691691
"default": []
692+
},
693+
"notifyOnAttach": {
694+
"type": "boolean",
695+
"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.",
696+
"default": false
692697
}
693698
}
694699
}

0 commit comments

Comments
 (0)