Repository navigation
Add notifyOnAttach option - #5249
Jordan Borean (jborean93) wants to merge 1 commit into
Conversation
|
It is not strictly necessary as you can put whatever values you want in the AFAIK there is no other way to define it, this must be statically defined and cannot be done at runtime. |
|
Jordan Borean (@jborean93) sorry, yes I am aware, this comment should have been on the actual implementation in PSES, sorry. |
|
I'm not sure if PSES could do it dynamically. Maybe a source generator to generate the record from the |
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.
1c29be9 to
fe8dd4f
Compare

PR Summary
Adds the new
notifyOnAttachoption for an attach request. This option will have PSES create a new event with the source identifierPSES.Attachedthat allows the attached script to wait for the attach event.Should wait until PowerShell/PowerShellEditorServices#2250 is merged (or rejected).
PR Checklist
WIP:to the beginning of the title and remove the prefix when the PR is ready