From fe8dd4fb784a5de1032dc034265a384e83ac86db Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Tue, 29 Jul 2025 08:39:36 +1000 Subject: [PATCH] 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. --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index bbb17f1289..8b8874e59b 100644 --- a/package.json +++ b/package.json @@ -689,6 +689,11 @@ ] }, "default": [] + }, + "notifyOnAttach": { + "type": "boolean", + "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.", + "default": false } } }